2 Replies Latest reply on Sep 11, 2009 4:15 AM by Andy Taylor

    message endpoint + MyMessageListener is already in use by an

    Naresh Bhatia Novice

      I am getting the following error when running my application with JBoss 5.1 and JBM 2.0.0.BETA4 Does anyone know the cause of this exception? I have the exact same application running on another computer where I have no problems. Can someone please help me on this? Thanks.

      22:08:36.484 WARNING [Thread-1 (group:JBM-client-global-threads-22718568)] [org.jboss.messaging.ra.inflow.JBMMessageHandler] Unable to create transaction: This message endpoint + MyMessageListener is already in use by another thread Thread[Thread-0 (group:JBM-client-global-threads-22718568),5,JBM-client-global-threads-22718568]
      22:08:36.484 SEVERE [Thread-1 (group:JBM-client-global-threads-22718568)] [org.jboss.messaging.ra.inflow.JBMMessageHandler] Unexpected error delivering message org.jboss.messaging.core.client.impl.ClientMessageImpl@1326f69
      java.lang.IllegalStateException: This message endpoint + MyMessageListener is already in use by another thread Thread[Thread-0 (group:JBM-client-global-threads-22718568),5,JBM-client-global-threads-22718568]
      at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:117)
      at $Proxy419.onMessage(Unknown Source)
      at org.jboss.messaging.ra.inflow.JBMMessageHandler.onMessage(JBMMessageHandler.java:250)
      at org.jboss.messaging.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:671)
      at org.jboss.messaging.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:41)
      at org.jboss.messaging.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:788)
      at org.jboss.messaging.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:105)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)