This content has been marked as final.
Show 2 replies
-
1. Re: JbossMQ Topic/Subscribers in a cluster
adrian.brock Jun 28, 2007 7:23 AM (in response to rkuryk)If you are using MDBs then deploy the them in deploy-hasingleton
instead of deploy. -
2. Re: JbossMQ Topic/Subscribers in a cluster
rkuryk Jun 28, 2007 1:16 PM (in response to rkuryk)We are deploying our MDBs under the deploy-hasingleton. If we try to deploy all the cluster nodes with the mdb-client-id's all being the same we receive the following exception :
2007-06-28 10:31:51,958 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected for InvestmentBalanceLookup
org.jboss.deployment.DeploymentException: Error during topic setup; - nested throwable: (javax.jms.InvalidClientIDException: This client id 'CCDurablesIBL' is already registered!)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
...
Caused by: javax.jms.InvalidClientIDException: This client id 'CCDurablesIBL' is already registered!
at org.jboss.mq.sm.AbstractStateManager.addLoggedOnClientId(AbstractStateManager.java:196)
which caused us to use different mdb-client-id's across the cluster. I think the multiple entries in the jms_subscriptions tables is what is causing the other nodes in the cluster to pick up and process the messages.