[
http://jira.jboss.com/jira/browse/JBAS-4180?page=comments#action_12363380 ]
Brian Stansberry commented on JBAS-4180:
----------------------------------------
When this is done, remove the @JMX annotations from
src/resources/cluster/partition/jboss-beans.xml. They are only there because of this
issue and the need for them is a good illustration of the problem.
Reduce coupling between JMX and HASingleton
-------------------------------------------
Key: JBAS-4180
URL:
http://jira.jboss.com/jira/browse/JBAS-4180
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Clustering
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.CR1
Look at HASingletonController and HASingletonElectionPolicy and factor out the
JMX-related stuff.
For a unit test, just tried to deploy an HASingletonController as a simple MC bean, no
JMX. Fails to start with NPE because HASingletonController is a ServiceMBeanSupport
subclass and w/o JMX registration it won't work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira