axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5811) org.apache.axis2.AxisFault: Timeout waiting for connection from pool
Date Sun, 16 Oct 2016 21:24:20 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15580561#comment-15580561
] 

Hudson commented on AXIS2-5811:
-------------------------------

FAILURE: Integrated in Jenkins build Axis2 #3600 (See [https://builds.apache.org/job/Axis2/3600/])
Add test case for the scenario described in AXIS2-5809 and AXIS2-5811. (veithen: rev 1765183)
* (edit) axis2/modules/adb-tests/pom.xml
* (add) axis2/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809
* (add) axis2/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809/EchoServiceImpl.java
* (add) axis2/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809/ServiceTest.java
* (add) axis2/modules/adb-tests/src/test/repo
* (add) axis2/modules/adb-tests/src/test/repo/AXIS2-5809
* (add) axis2/modules/adb-tests/src/test/repo/AXIS2-5809/axis2.xml
* (add) axis2/modules/adb-tests/src/test/wsdl/AXIS2-5809.wsdl
* (add) axis2/modules/adb-tests/src/test/xslt/AXIS2-5809.xsl


> org.apache.axis2.AxisFault: Timeout waiting for connection from pool
> --------------------------------------------------------------------
>
>                 Key: AXIS2-5811
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5811
>             Project: Axis2
>          Issue Type: Bug
>          Components: TCP transport
>    Affects Versions: 1.7.3
>            Reporter: Claudio Degioanni
>            Priority: Critical
>         Attachments: axis2_HttpClient4.xml, clean_log.log
>
>
> Using Axis library 1.7.3 with HttpClient 4.4.1, after 200 request the library throw a
TimeoutException from connection pool:
> Caused by: org.apache.axis2.AxisFault: Timeout waiting for connection from pool
> 	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) ~[axis2-kernel-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.transport.http.impl.httpclient4.HTTPSenderImpl.sendViaPost(HTTPSenderImpl.java:242)
~[axis2-transport-http-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:121) ~[axis2-transport-http-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:403)
~[axis2-transport-http-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:234)
~[axis2-transport-http-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:431) ~[axis2-kernel-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:399)
~[axis2-kernel-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
~[axis2-kernel-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:150) ~[axis2-kernel-1.7.3.jar:1.7.3]
> 	....
> Caused by: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection
from pool
> 	at org.apache.http.impl.conn.PoolingClientConnectionManager.leaseConnection(PoolingClientConnectionManager.java:226)
~[httpclient-4.4.1.jar:4.4.1]
> 	at org.apache.http.impl.conn.PoolingClientConnectionManager$1.getConnection(PoolingClientConnectionManager.java:195)
~[httpclient-4.4.1.jar:4.4.1]
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:423)
~[httpclient-4.4.1.jar:4.4.1]
> 	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
~[httpclient-4.4.1.jar:4.4.1]
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
~[httpclient-4.4.1.jar:4.4.1]
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
~[httpclient-4.4.1.jar:4.4.1]
> 	at org.apache.axis2.transport.http.impl.httpclient4.HTTPSenderImpl.executeMethod(HTTPSenderImpl.java:873)
~[axis2-transport-http-1.7.3.jar:1.7.3]
> 	at org.apache.axis2.transport.http.impl.httpclient4.HTTPSenderImpl.sendViaPost(HTTPSenderImpl.java:238)
~[axis2-transport-http-1.7.3.jar:1.7.3]
> 	... 15 common frames omitted
> I think che connection pool used by library don't work correctly, stuck the connections
to 200 ??? 
> Steps To reproduce:
> 1 Generate client for windows web service like (http://www.webservicex.com/globalweather.asmx)
> 2 Configure axis2 to use HTTPClient4TransportSender
> 3 Make 200 web service request



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message