0 Replies Latest reply on Oct 21, 2016 2:58 AM by Senthil Kumar Kamaraj

    timeout error

    Senthil Kumar Kamaraj Newbie

      Hello,

       

      We are facing the time out issue when we try to connect the web service deployed in JBoss through AJP connector.

       

      configuration :

      Apache 2.4.17 and JBossAS 6.1.0.

      We have implemented the web service in Apache axis2.

       

      Apache error.log shows the following :

       

      [Tue 18 October, 10: 40: 38.235534 2016] [proxy_ajp: error] [3244 pid: 2364 tid] (OS 10060) A connection attempt failed because the connected party did not properly respond after a certain time, or established connection failed because the host connection did not respond. : AH01030: ajp_ilink_receive () can not Receive header

       

      [Tue 18 October, 10: 40: 38.235534 2016] [proxy_ajp: error] [3244 pid: 2364 tid] [10.254.191.105:63127 client] AH00992: ajp_read_header: ajp_ilink_receive failed

       

      [Tue 18 October, 10: 40: 38.235534 2016] [proxy_ajp: error] [3244 pid: 2364 tid] (70007) The timeout specified has expired: [10.254.191.105:63127 client] AH00893: dialog to 127.0.0.1:8010 ( localhost) failed

       

      Server.xml configuration

       

          <Connector protocol="AJP/1.3" port="8010" address="${jboss.bind.address}"

         allowTrace="true" backlog="100" maxThreads="600"

               redirectPort="8443" URIEncoding="UTF-8" />

       

      apache httpd.conf

           <Location "/axis2">

             ProxyPass ajp://localhost:8010/axis2 connectiontimeout=300 timeout=300

             ProxyPassReverse ajp://localhost:8010/axis2

        </Location>

       

      We tried to increase the maxThreads, in server.xml and connectiontimeout, timeout in httpd.conf but it doesn't work out.

      This issue is happening when we try with the multiple simultaneous request to JBoss.

      After the JBoss service restart the issue is not present for several hours but again after some time the issue is coming.

       

      Please help us in this issue.

       

      Thanks

      Senthil