]
Scott Marlow resolved JBAS-8049.
--------------------------------
Resolution: Done
closeAll added and tested
JmxAdapter should have a closeAll()
-----------------------------------
Key: JBAS-8049
URL:
https://jira.jboss.org/browse/JBAS-8049
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.M3
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 6.0.0.M4
From email exchange that illustrates the problem:
"When using the JMXAdapter to connect to a JBossAS instance, how does the client
then shut down the connection cleanly? I'm getting errors when the server goes away
(which is not itself an error - I killed it explicitly), because the
ClientCommunicatorAdmin started by the jdk keeps running. To stop it cleanly I guess I
need to call JMXConnector.close(), but the instance of that is never exposed outside the
JMXAdapter, so I can't. Am I missing something in the design here, or is that a
bug/missing feature?
"
The proposed fix is adding a (static) JMXAdapter.closeAll() that can close all
JMXConnector connections.
It is not required to solve this jira but adding a
JMXAdapter.close(MBeanServerConnection) would be a nice to have.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: