[
https://issues.apache.org/jira/browse/AMQ-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600172#comment-13600172
]
Timothy Bish commented on AMQ-4307:
-----------------------------------
This one is a bit tricky. The lock occurs because the httpMethod is finishing
its write and need to update the SSL Socket's state table and some other
internal housekeeping and we come in and try to abort the method and close the
socket right away. We should probably at least give the run method a chance to
finish before we hard abort the httpMethod, question is how long do we wait.
Some Google searching seems to indicate that doesn't happen on every JDK
version.
> org.apache.activemq.transport.http.HttpClientReconnectTest hangs occasionally
> -----------------------------------------------------------------------------
>
> Key: AMQ-4307
> URL: https://issues.apache.org/jira/browse/AMQ-4307
> Project: ActiveMQ
> Issue Type: Bug
> Components: Test Cases
> Reporter: Kevin Earls
> Priority: Minor
> Attachments: AMQ4307.patch, HttpClientReconnectTestStack.txt
>
>
> This test occasionally hangs, causing the build to hang. I haven't been able
> to reproduce it yet, but have seen it several times on the Fuse Hudson
> instance. I'll attach a patch which adds a timeout.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira