1 Reply Latest reply on Jan 10, 2011 4:49 AM by wdfink

    JMS (MDB) - Cluster Issue

    kmajeed

      I have setup a JBoss 5.0 Cluster with JMS Topic deployed in  deploy-hasingleton, my first instance starts successfully but when  second node starts i am getting this exception, one thing weird i have  noticed is that sometimes second node starts smoothly, i dont get this  exception - i had to retry 4-5 times to start the server. Can anyone  help me in this?

       

      Stacktrace:

       

      javax.jms.InvalidDestinationException: No such destination: JBossTopic[MyMessage] has it been deployed?
           at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1838)
           at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:252)
            at   org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)
           at

       

      Khurram

        • 1. JMS (MDB) - Cluster Issue
          wdfink

          The deploy-hasingleton is a relict from JBossMQ, it was not really clustered.

          With JBoss5 you will have JBossMessaging and you can use is as is within a cluster.

          The configuration of a queue/topic can be clustered or not.

           

          BTW: I recommend to use JBoss 5.1