axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Althuru (JIRA)" <>
Subject [jira] Commented: (AXIS2-4330) axis2 client machine has many CLOSE_WAIT tcp
Date Wed, 18 Nov 2009 19:12:39 GMT


Sam Althuru commented on AXIS2-4330:


We upgraded to axis2 1.5.1 from axis2 1.3 (Since we hit the CLOSE_WAIT conecction built up
over period of time issue in production and 'too many open files' error with axis2 1.3) to
get the above said fix and added the following statement after service call.


It does help to have one CLOSE_WAIT connection per client instance. (we have multiple client
instances in running)

But all of sudden, one instance threw nullpointerexception while releasing the connection.

Exception in thread "Timer-0" java.lang.NullPointerException
	at org.apache.commons.httpclient.HttpMethodBase.responseBodyConsumed(
	at org.apache.commons.httpclient.HttpMethodBase$1.responseConsumed(
	at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(
	at org.apache.commons.httpclient.AutoCloseInputStream.close(
	at org.apache.commons.httpclient.HttpMethodBase.releaseConnection(
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.cleanup(
	at org.apache.axis2.client.ServiceClient.cleanupTransport(
	at com.telcordia.sirgpd.driver.titan.v_6_5.TitanNormalizedDriver.sendBatch(
	at com.telcordia.sirgpd.driver.titan.v_6_5.TitanNormalizedDriver.batch(
	at com.telcordia.sirgpd.common.Distributor.batch(
	at com.telcordia.sirgpd.common.OutputQConsumerTask.processOutputQData(
	at java.util.TimerThread.mainLoop(Unknown Source)
	at Source)

Any ideas? Do I need to do as Amila advised above in the thread?

Thanks in advance,

> axis2  client machine has many CLOSE_WAIT tcp
> ---------------------------------------------
>                 Key: AXIS2-4330
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: 1.4.1
>         Environment: solaris
>            Reporter: jenny anderson
>             Fix For: 1.5.1
>         Attachments:
> My application is using axis2 web service. It  invokes web service thousand times per
second. We observed thousand CLOSE_WAIT connection after the application is run for less than
10 hours.  I checked even I set REUSE_HTTP_CLIENT to false, it still gets CLOSE_WAIT.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message