5 Replies Latest reply on Dec 6, 2006 11:32 PM by ron_sigal

    InvokerLocator already exists for listener

    dunks80

      Does anyone know what this stack trace is about? I'm looping through a list of items and sending each item in the list off to a queue that has an MDB listening on it. I get maybe half way through the list and then this exception occurs. The code worked fine with JbossMQ but when I switched to JBoss messaging this started happening.

      javax.jms.IllegalStateException: InvokerLocator already exists for listener id 1436420135. Remove this listener before adding again.
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:91)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext()Ljava.lang.Object;(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java:???)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext()Ljava.lang.Object;(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java:???)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(Ljava.lang.String;Ljava.lang.String;)Lorg.jboss.jms.delegate.ConnectionDelegate;(ClientConnectionFactoryDelegate.java:???)
       at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:202)
       at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:108)
       at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:103)
      ...