0 Replies Latest reply on Feb 14, 2014 8:41 AM by bobsauvage

    Apache in front of JBoss 6 -> Some proxy errors

    bobsauvage

      Hi there,

       

      Here under my Apache configuration:

      <IfDefine TOMCAT>

          <IfModule mod_ssl.c>

             <IfModule mod_proxy_http.c>

                ProxyTimeout      300

                SetEnv force-proxy-request-1.0 1

                SetEnv proxy-nokeepalive 1

                ProxyPass        /unproxied/ !

                ProxyPass        /error/ !

                ProxyPass        /   http://127.0.0.1:8080/ retry=0 ttl=600

                ProxyPassReverse /   http://127.0.0.1:8080/

             </IfModule>

          </IfModule> </IfDefine>

       

      Here my JBoss connector configuration:

         <Connector

              address              = "${jboss.bind.address}"

              port                 = "8080"

              maxThreads           = "200"

              acceptCount          = "100"

              scheme               = "https"

              secure               = "true"

              proxyName            = "mydomain.net"

              proxyPort            = "443"

              xpoweredBy           = "true"

              connectionTimeout    = "600000"

              compression          = "on"

              enableLookups        = "false"

              maxKeepAliveRequests = "-1"

              maxHttpHeaderSize    = "50000"

              />

      In my Apache error.log:

      [Tue Jul 16 09:54:54 2013] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1) [Tue Jul 16 09:57:35 2013] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:8080 (127.0.0.1) failed 

      These errors appear around 10 times per day but my web application seems to work as expected.

      What could be the problem ?

      Thanks,

      Bob !