[ https://issues.apache.org/jira/browse/AXIS2-6030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550831#comment-17550831 ]
David Steindorfer commented on AXIS2-6030: ------------------------------------------ Hi [~robertlazarski] Thank you for looking into this. I checked your code and it was working on my side as well, but then I noticed that your "serviceInternal" is a private field and that you initstate a new "EchoTest" object every iteration, thus the "serviceInternal" is in fact only used once per iteration. My issue is mainly that we reuse the "serviceInternal" over multiple iterations, thus I moved the initiation of the "EchoTest" outside of the loop and then it stopped working after 200 iterations as expected, I also added a log line to see on which iteration it hangs: !screenshot-4.png! Hope it helps for further investigations. Thanks > Axis2 connections are not returned to connection pool on 1.8.0 with JAXWS > ------------------------------------------------------------------------- > > Key: AXIS2-6030 > URL: https://issues.apache.org/jira/browse/AXIS2-6030 > Project: Axis2 > Issue Type: Bug > Components: jaxws > Affects Versions: 1.8.0 > Reporter: David Steindorfer > Assignee: Robert Lazarski > Priority: Major > Fix For: 1.8.2 > > Attachments: EchoTest.java, echoTestInterruptionException.txt, > jaxws-samples.png, screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png > > > Good Afternoon, > > I have upgraded Axis2 from 1.7.9 to 1.8.0 on one of our projects. > However with the upgrade the requests seem to get stuck. > On further analysis I figured out that the connection pool ran dry as the > connections were not returned. > > It took a while to reproduce the issue reliably and isolated from the other > code of our project but under very similar circumstances. > Thus I created a public git repo with the code I wrote to reproduce the issue: > [https://github.com/dsteindo/Axis2Examples] > > I think the affected component is the "axis2-transport-http" library. > For now I reverted the project's libraries back to 1.7.9. > But it would be awesome to use the latest libraries, considering that you did > quite a lot of changes and improvements :) > > Please feel free to contact me if more information is needed, but I guess > that everything should be documented with the git repository. -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org