[
https://issues.jboss.org/browse/AS7-2507?page=com.atlassian.jira.plugin.s...
]
Carlo de Wolf commented on AS7-2507:
------------------------------------
It looks like a race condition in EndpointService.stop().
First the CloseHandler needs to be added, then the closeAsync needs to be invoked.
It probably also need some sort of error handler to make sure the context is always
completed.
So it's probably best to first add the appropriate handlers (to make sure a response
is always forthcoming), then make the StopContext asynchronous, then call closeAsync.
Which might fail at which point the context needs to be complete there and then.
(Shouldn't there be a StopContext.failed(Throwable)?)
Hang in MSC Shutdown Thread
---------------------------
Key: AS7-2507
URL:
https://issues.jboss.org/browse/AS7-2507
Project: Application Server 7
Issue Type: Bug
Components: MSC
Reporter: Carlo de Wolf
Assignee: David Lloyd
Attachments: 17034-jstack.txt, 17034-moduleInformation.txt
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira