0 Replies Latest reply on Jun 19, 2008 11:04 AM by sanjeeth

    JMS Messaging problem between multiple Jboss Instance.

    sanjeeth

      Hello All,
      I am facing a problem when creating a Topic receiver. I have 2 jboss(Jboss1 and Jboss2) instance running in my local machine. Topic is deployed in the Jboss2. I am trying to create a receiver for the topic in the Jboss1 process. But i get the following error "Destination doesnot exist".
      The JNDI look up is fine for connection factory as well as for topic. But when i create the receiver from the session it fails.
      From the trace it looks like it is searching for the destination in the jboss1 only(JVMServerIL). But i dont know why.

      Please find the trace
      org.jboss.mq.server.TracingInterceptor.subscribe EXCEPTION : subscribe:
      javax.jms.InvalidDestinationException: The destination TOPIC.XXX does not exist !
      at org.jboss.mq.server.ClientConsumer.addSubscription(ClientConsumer.java:140)
      at org.jboss.mq.server.JMSDestinationManager.subscribe(JMSDestinationManager.java:572)
      at org.jboss.mq.server.JMSServerInterceptorSupport.subscribe(JMSServerInterceptorSupport.java:171)
      at org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:157)
      at org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:651)
      at org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:177)
      at org.jboss.mq.il.jvm.JVMServerIL.subscribe(JVMServerIL.java:170)
      at org.jboss.mq.Connection.addConsumer(Connection.java:791)
      at org.jboss.mq.SpySession.addConsumer(SpySession.java:947)
      at org.jboss.mq.SpySession.createSubscriber(SpySession.java:710)
      at .......

      Can any body please help me out?
      I am using Jboss4.04GA.