This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Illegal State Exception: Consumer is Closed  RSS feed

 
Alissa Horner
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web service that connects to ActiveMQ and after the server restarts, I get an error message that says that the consumer is closed. What could be causing this?

Here is the stack trace:
INFO RESIN - javax.jms.IllegalStateException: The Consumer is closed
at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:699)
at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:456)
at com.caucho.ejb.message.JmsResourceAdapter$Consumer.handleMessage(JmsResourceAdapter.java:394)
at com.caucho.ejb.message.JmsResourceAdapter$Consumer.run(JmsResourceAdapter.java:381)
at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!