axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charitha Kankanamge (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2724) java.net.BindException: Address already in use: connect when sending ~10000 requests to a service
Date Tue, 29 May 2007 11:11:15 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Charitha Kankanamge updated AXIS2-2724:
---------------------------------------

    Attachment: src.rar
                multiplerequestsservice.aar

Attached service archive and client

>  java.net.BindException: Address already in use: connect when sending ~10000 requests
to a service
> --------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2724
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2724
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>         Attachments: multiplerequestsservice.aar, src.rar
>
>
> Following exception is thrown at client side when sending ~10000 requests to a web service.
> org.apache.axis2.AxisFault: Address already in use: connect
> 	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:377)
> 	at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
> 	at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:72)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:312)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:200)
> 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:331)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:198)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:144)
> 	at org.apache.ws.axis2.MultiplerequestsservicemultiplerequestsserviceSOAP11Port_http1Stub.addition(MultiplerequestsservicemultiplerequestsserviceSOAP11Port_http1Stub.java:151)
> 	at client.main(client.java:22)
> Caused by: java.net.BindException: Address already in use: connect
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> 	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> 	at java.net.Socket.connect(Socket.java:507)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:139)
> 	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:124)
> 	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
> 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
> 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
> 	at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:646)
> 	at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:186)
> Service and client are attached here with.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message