Hi Gary,

 I am trying to generate the same in a test application but still not
succeeded.But by looking into the production log i noticed that there is one
error comming as follows.

javax.jms.JMSException: Cannot remove a producer that had not been
registered: ID:flipultimate-53739-1299579015550-0:1:44:2
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
        at
org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1833)
        at
org.apache.activemq.ActiveMQConnection$2$1.run(ActiveMQConnection.java:1754)
        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)
Caused by: java.lang.IllegalStateException: Cannot remove a producer that
had not been registered: ID:flipultimate-53739-1299579015550-0:1:44:2
        at
org.apache.activemq.broker.TransportConnection.processRemoveProducer(TransportConnection.java:532)
        at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:78)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:228)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
        at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202)


We are creating and starting DefaultMessagelistener from code not from
spring xml file.Can it have any relation with DefaultMessagelistener.

Thanks
Krishnadasan T S



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Message-stuck-on-queue-tp3338786p3341354.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to