You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rachna (Created) (JIRA)" <ji...@apache.org> on 2012/02/23 06:35:49 UTC

[jira] [Created] (AXIS2-5250) org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection

org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
--------------------------------------------------------------------------------------------

                 Key: AXIS2-5250
                 URL: https://issues.apache.org/jira/browse/AXIS2-5250
             Project: Axis2
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.5.5
         Environment: Solaris, UNIX. Java
            Reporter: Rachna
            Priority: Blocker


The client stub was working perfectly fine with lower load/requests. The same application when went live failed, giving some successful responses and some " Timeout waiting for connection" exceptions with heavy load/requests.

The axis version used is axis2-1.5.5

Please find the exception below - 
Feb 22, 2012 2:30:11 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
INFO: Unable to sendViaPost to url[http://97.146.153.69:8080/ua/soap]
org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManage
r.java:497)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnect
ionManager.java:416)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:557)
        at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java
:400)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
        at org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1340)
        at org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:1070)
        at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:3446)
        at java.lang.Thread.run(Thread.java:595)

According to me, the above exception is taken care in the original base code generated with wsdl file. The code is pasted below which should take care the cleanup of the transport ( http sessions) but it is not as I am getting some "Timeout waiting for connection" exceptions.
finally {
                if (_messageContext.getTransportOut() != null) {
                      _messageContext.getTransportOut().getSender().cleanup(_messageContext);
                }

Can you please suggest what is going wrong here. 
Let me know if more information is required.




 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5250) org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection

Posted by "Sagara Gunathunga (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218956#comment-13218956 ] 

Sagara Gunathunga  commented on AXIS2-5250:
-------------------------------------------

How would you expect helps from developers without putting any effort from your side ? In my last comment I asked two things you haven't look into either of them. 
                
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5250
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5250
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.5
>         Environment: Solaris, UNIX. Java
>            Reporter: Rachna
>            Priority: Blocker
>              Labels: performance
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The client stub was working perfectly fine with lower load/requests. The same application when went live failed, giving some successful responses and some " Timeout waiting for connection" exceptions with heavy load/requests.
> The axis version used is axis2-1.5.5
> Please find the exception below - 
> Feb 22, 2012 2:30:11 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
> INFO: Unable to sendViaPost to url[http://97.146.153.69:8080/ua/soap]
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManage
> r.java:497)
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnect
> ionManager.java:416)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:557)
>         at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java
> :400)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
>         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>         at org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1340)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:1070)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:3446)
>         at java.lang.Thread.run(Thread.java:595)
> According to me, the above exception is taken care in the original base code generated with wsdl file. The code is pasted below which should take care the cleanup of the transport ( http sessions) but it is not as I am getting some "Timeout waiting for connection" exceptions.
> finally {
>                 if (_messageContext.getTransportOut() != null) {
>                       _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>                 }
> Can you please suggest what is going wrong here. 
> Let me know if more information is required.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5250) org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection

Posted by "axis2user (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226802#comment-13226802 ] 

axis2user commented on AXIS2-5250:
----------------------------------

Worked with 1.6.1 version.
                
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5250
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5250
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.5
>         Environment: Solaris, UNIX. Java
>            Reporter: axis2user
>            Priority: Blocker
>              Labels: performance
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The client stub was working perfectly fine with lower load/requests. The same application when went live failed, giving some successful responses and some " Timeout waiting for connection" exceptions with heavy load/requests.
> The axis version used is axis2-1.5.5
> Please find the exception below - 
> Feb 22, 2012 2:30:11 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
> INFO: Unable to sendViaPost to url[http://97.146.153.69:8080/ua/soap]
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManage
> r.java:497)
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnect
> ionManager.java:416)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:557)
>         at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java
> :400)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
>         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>         at org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1340)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:1070)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:3446)
>         at java.lang.Thread.run(Thread.java:595)
> According to me, the above exception is taken care in the original base code generated with wsdl file. The code is pasted below which should take care the cleanup of the transport ( http sessions) but it is not as I am getting some "Timeout waiting for connection" exceptions.
> finally {
>                 if (_messageContext.getTransportOut() != null) {
>                       _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>                 }
> Can you please suggest what is going wrong here. 
> Let me know if more information is required.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5250) org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection

Posted by "Rachna (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218895#comment-13218895 ] 

Rachna commented on AXIS2-5250:
-------------------------------

Trying with 1.6.1 version at this stage would be quite expensive, want to keep that as last option.
Is there any workaround available for the problem in axis2-1.5.5 ?
Would like to give some more information - 

I am also getting the below exception along with the Time out exception as mentioned earlier in the issue.
Feb 21, 2012 10:50:05 PM org.apache.axis2.transport.http.HTTPSender sendViaPost
INFO: Unable to sendViaPost to url[http://97.146.153.69:8080/ua/soap]
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
        at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:311)
        at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:200)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java
:400)
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
        at org.apache.axis2.axis2userguide.QuantumUAStub.createSubscriber(QuantumUAStub.java:2429)
        at org.apache.axis2.axis2userguide.SOExecutionThread.createCustomer(AAA_Broadhop.java:884)
        at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:3442)



                
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5250
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5250
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.5
>         Environment: Solaris, UNIX. Java
>            Reporter: Rachna
>            Priority: Blocker
>              Labels: performance
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The client stub was working perfectly fine with lower load/requests. The same application when went live failed, giving some successful responses and some " Timeout waiting for connection" exceptions with heavy load/requests.
> The axis version used is axis2-1.5.5
> Please find the exception below - 
> Feb 22, 2012 2:30:11 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
> INFO: Unable to sendViaPost to url[http://97.146.153.69:8080/ua/soap]
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManage
> r.java:497)
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnect
> ionManager.java:416)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:557)
>         at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java
> :400)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
>         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>         at org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1340)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:1070)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:3446)
>         at java.lang.Thread.run(Thread.java:595)
> According to me, the above exception is taken care in the original base code generated with wsdl file. The code is pasted below which should take care the cleanup of the transport ( http sessions) but it is not as I am getting some "Timeout waiting for connection" exceptions.
> finally {
>                 if (_messageContext.getTransportOut() != null) {
>                       _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>                 }
> Can you please suggest what is going wrong here. 
> Let me know if more information is required.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS2-5250) org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection

Posted by "Sagara Gunathunga (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214653#comment-13214653 ] 

Sagara Gunathunga  commented on AXIS2-5250:
-------------------------------------------

1.) Could you try to test this again with 1.6.1 version ?
2.) Provide your message size and exact steps/code in client side to reproduce this issue ?

                
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5250
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5250
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.5
>         Environment: Solaris, UNIX. Java
>            Reporter: Rachna
>            Priority: Blocker
>              Labels: performance
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The client stub was working perfectly fine with lower load/requests. The same application when went live failed, giving some successful responses and some " Timeout waiting for connection" exceptions with heavy load/requests.
> The axis version used is axis2-1.5.5
> Please find the exception below - 
> Feb 22, 2012 2:30:11 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
> INFO: Unable to sendViaPost to url[http://97.146.153.69:8080/ua/soap]
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManage
> r.java:497)
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnect
> ionManager.java:416)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:557)
>         at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java
> :400)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
>         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>         at org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1340)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:1070)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:3446)
>         at java.lang.Thread.run(Thread.java:595)
> According to me, the above exception is taken care in the original base code generated with wsdl file. The code is pasted below which should take care the cleanup of the transport ( http sessions) but it is not as I am getting some "Timeout waiting for connection" exceptions.
> finally {
>                 if (_messageContext.getTransportOut() != null) {
>                       _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>                 }
> Can you please suggest what is going wrong here. 
> Let me know if more information is required.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (AXIS2-5250) org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection

Posted by "Sagara Gunathunga (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5250.
---------------------------------------

    Resolution: Not A Problem

Worked with 1.6.1 without any issue. 
                
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5250
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5250
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.5
>         Environment: Solaris, UNIX. Java
>            Reporter: axis2user
>            Priority: Blocker
>              Labels: performance
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The client stub was working perfectly fine with lower load/requests. The same application when went live failed, giving some successful responses and some " Timeout waiting for connection" exceptions with heavy load/requests.
> The axis version used is axis2-1.5.5
> Please find the exception below - 
> Feb 22, 2012 2:30:11 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
> INFO: Unable to sendViaPost to url[http://97.146.153.69:8080/ua/soap]
> org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManage
> r.java:497)
>         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnect
> ionManager.java:416)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:557)
>         at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java
> :400)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
>         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>         at org.apache.axis2.axis2userguide.QuantumUAStub.getSubscriber(QuantumUAStub.java:1340)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.getCustomer(AAA_Broadhop.java:1070)
>         at org.apache.axis2.axis2userguide.SOExecutionThread.run(AAA_Broadhop.java:3446)
>         at java.lang.Thread.run(Thread.java:595)
> According to me, the above exception is taken care in the original base code generated with wsdl file. The code is pasted below which should take care the cleanup of the transport ( http sessions) but it is not as I am getting some "Timeout waiting for connection" exceptions.
> finally {
>                 if (_messageContext.getTransportOut() != null) {
>                       _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>                 }
> Can you please suggest what is going wrong here. 
> Let me know if more information is required.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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