[jboss-jira] [JBoss JIRA] Assigned: (JBAS-2520) HASingleton cannot be redeployed if stopSingleton() throws an Exception
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Fri Feb 27 13:56:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBAS-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow reassigned JBAS-2520:
----------------------------------
Assignee: Scott Marlow (was: Brian Stansberry)
> HASingleton cannot be redeployed if stopSingleton() throws an Exception
> -----------------------------------------------------------------------
>
> Key: JBAS-2520
> URL: https://jira.jboss.org/jira/browse/JBAS-2520
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: JBossAS-4.0.3 SP1
> Environment: Java 1.5.0_04 on RHEL 4
> Reporter: Mirko Nasato
> Assignee: Scott Marlow
> Fix For: Backlog
>
> Attachments: ha-test.sar.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list