I have custom developed application running in JBoss 4.2. Every day hundreds of TCP connection from Jboss remain in CLOSE_WAIT state.
The problem is currently circumvented by restarting JBoss. Is there any other solution that could be taken into consideration that would help relase the connections?
The server runs JBoss 4.2 on a Windows 2003 64bit in a VMware ESX Server.
Silviu
Try defining an Executor in service.xml http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html. The maxIdleTime setting defines how long a thread remains idle before being terminated.