axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saipradeep VG (JIRA)" <>
Subject [jira] Commented: (AXIS2-4330) axis2 client machine has many CLOSE_WAIT tcp
Date Thu, 29 Oct 2009 14:23:59 GMT


Saipradeep VG commented on AXIS2-4330:


I am using the latest version 1.5.1 of axis2.0, which has the above said fix. Can you please
elaborate on how I can use it with my stub. 

For instance, I am creating the stub as follows with the earlier version of 1.5.0

paws = new PAWSStub(WS_ENDPOINT);

where each thread has a new instance of stub. 

Right now for threads more than 2 we are encountering the following exception

19:41:57,785  INFO HTTPSender:202 - Unable to sendViaPost to url[http://localhost:8085/axis2/services/PAWS]
org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
	at org.apache.commons.httpclient.HttpClient.executeMethod(
	at org.apache.commons.httpclient.HttpClient.executeMethod(
	at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(
	at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
	at org.apache.axis2.transport.http.HTTPSender.send(
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
	at org.apache.axis2.engine.AxisEngine.send(
	at org.apache.axis2.description.OutInAxisOperationClient.send(
	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
	at org.apache.axis2.client.OperationClient.execute(
	at com.tcs.atc.nier.ner.nerdictclient.Annotator.annotateText(
org.apache.axis2.AxisFault: Timeout waiting for connection

> 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