-
Bug
-
Resolution: Obsolete
-
Major
-
JBossAS-4.0.3 SP1
-
None
If a Service MBean is a Clustered HA Singleton (it extends HASingletonSupport, or it is run by HASingletonController) and it throws an Exception when stopping then it is impossible to redeploy that Service until the whole JBoss is restarted.
Any attempts at deploying the Service will results in the following error
15:47:43,766 WARN [ServiceController] Problem starting service hatest:service=MyHASingletonService
java.lang.NullPointerException
at org.jboss.ha.jmx.HAServiceMBeanSupport.getServiceHAName(HAServiceMBeanSupport.java:361)
at org.jboss.ha.jmx.HAServiceMBeanSupport$1.replicantsChanged(HAServiceMBeanSupport.java:195)
...
and then
— MBeans waiting for other MBeans —
ObjectName: hatest:service=MyHASingletonService
State: FAILED
Reason: java.lang.NullPointerException
I Depend On:
jboss:service=DefaultPartition
— MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
ObjectName: hatest:service=MyHASingletonService
State: FAILED
Reason: java.lang.NullPointerException
I Depend On:
jboss:service=DefaultPartition
- is related to
-
JBAS-2499 Add configurable policy for determining master node for HASingleton
- Closed