[jboss-jira] [JBoss JIRA] Updated: (JBAS-2520) HASingleton cannot be redeployed if stopSingleton() throws an Exception

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Feb 26 10:41:44 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated JBAS-2520:
-----------------------------------

    Fix Version/s: Backlog
                       (was: JBossAS-5.1.0.Beta1)


I'm moving Fix Version to "Backlog" as I don't think we can commit to when we'd do those extra "on-failure" actions.

Scott, please feel free to reassign to yourself if you're still up for doing it.  Also, in your opinion has what you've done already handled the basic problem, i.e. should those extra "on-failure" actions be a separate JIRA and this one closed?

> 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: Brian Stansberry
>             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