[jboss-jira] [JBoss JIRA] Commented: (JBAS-4728) AS's JChannelFactory subclass should ignore duplicate lifecycle calls
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Sep 18 13:08:13 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4728?page=comments#action_12377437 ]
Brian Stansberry commented on JBAS-4728:
----------------------------------------
Original solution failed because the object registered via @JMX wasn't the org.jboss.ha.framework.server.JChannelFactory MC bean. It was an org.jgroups.jmx.JChannelFactory wrapper around the MC bean. Thus, the code to ignore duplicate create/start/stop/destroy was bypassed.
Fix is to make org.jboss.ha.framework.server.JChannelFactory implement the org.jgroups.jmx.JChannelFactoryMBean interface (it already implements the methods), get rid of the wrapper object, and apply the @JMX annotation to the org.jboss.ha.framework.server.JChannelFactory MC bean. Note that we have to use registerDirectly="false" on the @JMX annotation.
> AS's JChannelFactory subclass should ignore duplicate lifecycle calls
> ---------------------------------------------------------------------
>
> Key: JBAS-4728
> URL: http://jira.jboss.com/jira/browse/JBAS-4728
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: JBossAS-5.0.0.Beta2
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Priority: Minor
> Fix For: JBossAS-5.0.0.Beta3
>
>
> If already created, ignore create(), etc.
--
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
More information about the jboss-jira
mailing list