]
Brian Stansberry reopened WFCORE-199:
-------------------------------------
Assignee: (was: Brian Stansberry)
This issue is not fixed. The pull request linked to this JIRA simply worked around a
testsuite failure by removing an assert.
Domain graceful shutdown may attempt to use an AbstractMessageHandler
that is shutdown
--------------------------------------------------------------------------------------
Key: WFCORE-199
URL:
https://issues.jboss.org/browse/WFCORE-199
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 1.0.0.Alpha10
Reporter: Brian Stansberry
Fix For: 2.0.0.CR8
ManagedServer during shutdown tries to send a "shutdown" op to the remote
server, triggering a graceful suspend.
Problem is, the TransactionalProtocolClient it uses is using a ManagementChannelHandler
that may have been shut down. The service that controls the lifecycle of the
ManagementChannelHandler (i.e. ManagementChannelOpenListenerService) is written to ensure
that it isn't shutdown open until incoming requests complete, but there is nothing
preventing shutdown when client uses are desired.
The specific area where this can be a problem is the assert !shutdown at
https://github.com/wildfly/wildfly-core/blob/master/protocol/src/main/jav...
One possible solution is to distinguish locally initiated active operations from remote
ones. AIUI the goal is to reject further remote ones.