[
https://jira.jboss.org/jira/browse/JBMESSAGING-1469?page=com.atlassian.ji...
]
Jeff Mesnil updated JBMESSAGING-1469:
-------------------------------------
Summary: DiscoveryGroup can not be restarted (was: BroadcastGroup can not be
restarted)
Description:
in JBM2 trunk, the DiscoveryGroup is exposed as MBean with start()/stop() operations.
However, once the discovery group has been stopped once, it can not be started again: the
DiscoveryGroup's thread has been joined in stop() and we can not call start() again on
the same thread instance in DiscoveryGroup.start().
Tim, do you expect the DiscoveryGroup to be stoppable only once or can it be
stopped/started many times?
If it must be stoppable only once, I just need to add a check in the MBean.
Otherwise, I'll rewrite the DiscoveryGroup to create a new thread instance in its
start() method instead of its constructor
was:
in JBM2 trunk, the BroadcastGroup is exposed as MBean with start()/stop() operations.
However, once the broadcast group has been stopped once, it can not be started again: the
BroadcastGroup's thread has been joined in stop() and we can not call start() again on
the same thread instance in BroadcastGroup.start().
Tim, do you expect the BroadcastGroup to be stoppable only once or can it be
stopped/started many times?
If it must be stoppable only once, I just need to add a check in the MBean.
Otherwise, I'll rewrite the BroadcastGroup to create a new thread instance in its
start() method instead of its constructor
DiscoveryGroup can not be restarted
-----------------------------------
Key: JBMESSAGING-1469
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1469
Project: JBoss Messaging
Issue Type: Bug
Components: JMS Clustering
Reporter: Jeff Mesnil
Assignee: Tim Fox
Priority: Minor
Fix For: 2.0.0 Beta
in JBM2 trunk, the DiscoveryGroup is exposed as MBean with start()/stop() operations.
However, once the discovery group has been stopped once, it can not be started again: the
DiscoveryGroup's thread has been joined in stop() and we can not call start() again on
the same thread instance in DiscoveryGroup.start().
Tim, do you expect the DiscoveryGroup to be stoppable only once or can it be
stopped/started many times?
If it must be stoppable only once, I just need to add a check in the MBean.
Otherwise, I'll rewrite the DiscoveryGroup to create a new thread instance in its
start() method instead of its constructor
--
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