On Mon, Oct 17, 2005 at 04:48:04PM +0100, Teja Sai Krishna wrote: > Hi, > > We have HTTP Client application that connects to the HttpListening Connector, > which runs on weblogic 8.1. I have observed some strange behaviour at my > client side connection states. Once the communication is over, some client > side connections are in CLOSE_WAIT state. Some times I have seen these > CLOSE_WAIT connections will disappear after one day. But most of the times it > will not disappear even after one day. I have to kill my application. > > Is CLOSE_WAIT at the client side means, my client is waiting for final > acknowledgement from the server? >
Not really. That means these connections have been closed by the server but the client still assumes they are valid and keeps them in the connection pool. The way to go is to implement a custom idle connection handler: http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/util/IdleConnectionHandler.html Hope this helps Oleg > Thanks > Teja > > > Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
