Below are the conditions for throwing Connection timed timed out or HTTP errors.
Sol 1: This problem can be raised because of there is no connection timed out specified in LOAD BALANCER or Application server.
Do the below configurations in you configurations:
--> In Jboss "server.xml" file specify timed out entry
<connectionTimedout="600000" ....> [10 min]
---> In worker.property file specify the connection poll timed out entry
worker.node1.connection_pool_timedout=600 [10 min]
Still you are facing the connection timed out error do the below configuration
Sol 2:
In Jboss application server not mentioned the minSpare or maxSpare connection / minSpare or maxSpare values are not accurate but in web server these values are described ,see below
For Jboss , in server.xml file <connection Timedout="600000" maxThreads="500">
For Web server, in httpd.conf file minSpare 50
maxSpare 250
due to above configuration, connections are established at web server but the application server is not accepting the connection sent by the web server , so you are able to see "HTTP errors"
Do the below configurations in you configurations:
For Jboss , server.xml file
<connection Timedout="600000" maxThreads="500" minSpare="50" maxSpare="250">
Here for minSpare and maxSpare , web server contained 50 for minSpare and 250 for maxSpare, same values we need to define in server.xml file or bit high is recommended But after changing these values run the script and see the results and connection timed out errors, if still facing increase or decrease by 5 (50-5,250-5) and perform the test , check the results. Do the same (increasing / decreasing ) till you get the optimal value.
Sol 3:If still facing the connection timed out error , specify the acceptCount in server.xml file
<connection Timedout="600000" maxThreads="500" minSpare="50" maxSpare="250" acceptCount="100">
Accept Count: Number of requests in queue
Sol 1: This problem can be raised because of there is no connection timed out specified in LOAD BALANCER or Application server.
Do the below configurations in you configurations:
--> In Jboss "server.xml" file specify timed out entry
<connectionTimedout="600000" ....> [10 min]
---> In worker.property file specify the connection poll timed out entry
worker.node1.connection_pool_timedout=600 [10 min]
Still you are facing the connection timed out error do the below configuration
Sol 2:
In Jboss application server not mentioned the minSpare or maxSpare connection / minSpare or maxSpare values are not accurate but in web server these values are described ,see below
For Jboss , in server.xml file <connection Timedout="600000" maxThreads="500">
For Web server, in httpd.conf file minSpare 50
maxSpare 250
due to above configuration, connections are established at web server but the application server is not accepting the connection sent by the web server , so you are able to see "HTTP errors"
Do the below configurations in you configurations:
For Jboss , server.xml file
<connection Timedout="600000" maxThreads="500" minSpare="50" maxSpare="250">
Here for minSpare and maxSpare , web server contained 50 for minSpare and 250 for maxSpare, same values we need to define in server.xml file or bit high is recommended But after changing these values run the script and see the results and connection timed out errors, if still facing increase or decrease by 5 (50-5,250-5) and perform the test , check the results. Do the same (increasing / decreasing ) till you get the optimal value.
Sol 3:If still facing the connection timed out error , specify the acceptCount in server.xml file
<connection Timedout="600000" maxThreads="500" minSpare="50" maxSpare="250" acceptCount="100">
Accept Count: Number of requests in queue
1 comment:
I found a solution for this error. I encountered this error in my jboss online training. Thank you for your solution.
Post a Comment