On 22/01/2008, activemqnewbie <[EMAIL PROTECTED]> wrote: > > Subscriber closes with an exception(below)after consuming certain > messages.This happens at different intervals. > Appreciate if someone could let me know the reason and solution for this.
Looks like someone is closing the connection/session/consumer under the covers > Am using activemq 5.0,java 5. > Is there any property/setting that i need to do ? > Below is the stack trace. > <ERROR><2008/01/10 10:43:23.127><21621663><> ExceptionListener receives a > JMS exception <TRACE><2008/01/10 10:43:23.127><21621663><> Unregistering > Message Listener... <TRACE><2008/01/10 10:43:23.127><21621663><> > Notifying/signaling a waiting thread... <ERROR><2008/01/10 > 10:43:23.144><21621663><> ExceptionListener receives a JMS exception > <TRACE><2008/01/10 10:43:23.144><21621663><> Unregistering Message > Listener... <ERROR><2008/01/10 10:43:23.153><21621663><> > javax.jms.IllegalStateException: The Consumer is closed at > org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:679) > at > org.apache.activemq.ActiveMQMessageConsumer.setMessageListener(ActiveMQMessageConsumer.java:352) Whats the full stack trace? -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com