Hi,
My client application is throwing the below exception intermittently, which is causing client application slowness and getting client application freezed sometime.
The exception is
[pool-10-thread-1]: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server 10.8.4.248 failed to respond
2008-06-18 19:04:23,890 INFO [pool-10-thread-1]: Retrying request
INFO [javawsApplicationMain]: I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: socket write error
2008-06-18 20:29:52,406 INFO [javawsApplicationMain]: Retrying request
Client application is built using Eclipse RCP and Spring. Server side coding is on Spring. Spring remoting is used to communicate between client and server.
Tomcat server on Linux is used.
Using JConsole when monitored there were around 150+ threads active and peaked to 230 threads. Is that something I need to increase the threads and timeout parameter in Tomcat server.xml
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->
The issue is happening in live environment and is critical. Thanks in advance for your help!.