1 Reply Latest reply on Jul 3, 2013 8:33 AM by pete_freitag

    CF10 503 Error accessing Administrator

    snormo

      I am getting 503 errors trying to display the admin screen.

      This is a snipit of the ColdFusion log

      SEVERE: Error in getRealPathFromConn

      java.net.SocketException: Broken pipe

              at java.net.SocketOutputStream.socketWrite0(Native Method)

              at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

              at java.net.SocketOutputStream.write(SocketOutputStream.java:124)

              at org.apache.coyote.ajp.AjpProcessor.getRealPathFromServer(AjpProcessor.java:401)

              at org.apache.coyote.ajp.AbstractAjpProcessor.getRealPath(AbstractAjpProcessor.java:1154)

              at org.apache.naming.resources.FileDirContext.doGetRealPath(FileDirContext.java:198)

              at org.apache.naming.resources.BaseDirContext.getRealPath(BaseDirContext.java:412)

              at org.apache.catalina.core.StandardContext.getRealPath(StandardContext.java:4475)

              at org.apache.catalina.core.ApplicationContext.getRealPath(ApplicationContext.java:414)

              at org.apache.catalina.core.ApplicationContextFacade.getRealPath(ApplicationContextFacade.ja va:335)

              at coldfusion.runtime.ServletContextWrapper.doGetRealPath(ServletContextWrapper.java:179)

              at coldfusion.runtime.ServletContextWrapper._doGetRealPath(ServletContextWrapper.java:116)

              at coldfusion.runtime.ServletContextWrapper.getRealPath(ServletContextWrapper.java:98)

              at coldfusion.runtime.TemplateProxyFactory.getFullName(TemplateProxyFactory.java:1092)

              at coldfusion.tagext.html.ajax.AjaxProxyTag.getCFCInvocationPath(AjaxProxyTag.java:531)

              at coldfusion.tagext.html.ajax.AjaxProxyTag.generateAjaxProxy(AjaxProxyTag.java:238)

              at coldfusion.tagext.html.ajax.AjaxProxyTag.doStartTag(AjaxProxyTag.java:133)

              at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799)

              at cfindex2ecfm1192890685.runPage(C:\work\cf10_final_hotfix\cfusion\wwwroot\CFIDE\administra tor\updates\index.cfm:211)

       

      You can see I am getting a Broken Pipe error. The interesting thing is this last line. This is a RHEL 6.3 Linux installation.

      This installation is not using the internal web server. Instead it is using an AJP proxy to Tomcat from Apache webserver.

      Thanks for any assistance.

      mike

       

        • 1. Re: CF10 503 Error accessing Administrator
          pete_freitag Adobe Community Professional

          That last line shows a windows file path because that file is "encoded" (some people say encrypted but that is not an accurate term in this case), and it always shows the path of the file on the computer where it was encoded.  You mention you are using an AJP proxy to tomcat, are you not using the CF connector to connect apache? They have made some modifications to the mod_jk connector so if you are trying to use the standard tomcat version that could be a source of error.  To use the CF apache connector you run the command: 

           

          /opt/coldfusion10/cfusion/runtime/bin/wsconfig \

          -ws apache \

          -dir /usr/local/apache2/conf \

          -bin /usr/local/apache2/bin/httpd \

          -script /usr/local/apache2/bin/apachectl \

           

          Just make sure the dir, bin and script arguments point to the correct paths, the above paths were from a CentOS 6 servr so should be pretty similar