[
https://issues.jboss.org/browse/AS7-4314?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry updated AS7-4314:
----------------------------------
Fix Version/s: 7.1.2.Final
Assignee: Brian Stansberry
Affects Version/s: 7.1.1.Final
Component/s: Domain Management
Timeout for management request clearing before channel shutdown is
too short
----------------------------------------------------------------------------
Key: AS7-4314
URL:
https://issues.jboss.org/browse/AS7-4314
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.1.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 7.1.2.Final
ModelControllerClientOperationHandlerFactoryService and
MasterDomainControllerOperationHandlerService add a bit of graceful shutdown handling to
the management channel close process by waiting a bit for in-process requests to push out
their response before closing the channel. This was meant to be helpful for cases like
:reload or :shutdown requests which asynchronously trigger stop of the management channel
service and then try to respond to the caller indicating the async request was made.
Theres a race between getting the response out and the channel closing.
Problem is the timeout is only 100 ms, which isn't particularly useful and leads to
noticeable variability in whether those ops get their responses sent in time.
This JIRA will bump that timeout to 15000 ms and making it configurable via system
property "jboss.as.management.channel.close.timeout". The latter isn't very
important; I just don't like hard coded things like this with no way to tweak them if
an unexpected need arises.
--
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