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(
at org.apache.activemq.ActiveMQMessageConsumer.receive(
at com.caucho.ejb.message.JmsResourceAdapter$Consumer.handleMessage(
at com.caucho.ejb.message.JmsResourceAdapter$
at com.caucho.env.thread2.ResinThread2.runTasks(
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!