2 Replies Latest reply on Jul 20, 2002 12:05 AM by Dinesh Bhat

    Problem setting up 2 Durable MDB's to a Topic

    Dinesh Bhat Newbie

      I am trying to set up 2 Durable Message Driven Beans to a Topic. I am using JBoss 3.0. Is this supported?
      I get the following error
      [org.jboss.mq.il.oil.OILServerILService] Client request resulted in a server exception:
      javax.jms.JMSSecurityException: The login id has an assigned client id. That client id is already connected to the server!
      at org.jboss.mq.sm.AbstractStateManager.checkUser(AbstractStateManager.java:205)
      at org.jboss.mq.server.JMSDestinationManager.checkUser(JMSDestinationManager.java:734)
      at org.jboss.mq.server.JMSServerInterceptorSupport.checkUser(JMSServerInterceptorSupport.java:273)
      at org.jboss.mq.server.TracingInterceptor.checkUser(TracingInterceptor.java:546)
      at org.jboss.mq.server.JMSServerInvoker.checkUser(JMSServerInvoker.java:275)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:305)
      at java.lang.Thread.run(Thread.java:479)


      jboss.xml:

      <message-driven>
      <ejb-name>ActionLoggerEJB</ejb-name>
      <destination-jndi-name>topic/ActionLogTopic</destination-jndi-name>
      <mdb-user>guest</mdb-user>
      <mdb-passwd>guest</mdb-passwd>
      <mdb-subscription-id>ActionLoggerMDB</mdb-subscription-id>
      </message-driven>
      <message-driven>
      <ejb-name>RUBOLoggerMDB</ejb-name>
      <destination-jndi-name>topic/ActionLogTopic</destination-jndi-name>
      <mdb-user>guest</mdb-user>
      <mdb-passwd>guest</mdb-passwd>
      <mdb-subscription-id>RUBOLoggerMDB</mdb-subscription-id>
      </message-driven>


      jbossmq-state.xml:

      guest
      guest
      ActionLogger

      ActionLogger
      ActionLogTopic