javax.jms.IllegalStateException

The Session is closed

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web27

Stack trace

  • javax.jms.IllegalStateException: The Session is closed at org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:731)[activemq-core-5.7.0.jar:5.7.0] at org.apache.activemq.ActiveMQSession.createQueue(ActiveMQSession.java:1169)[activemq-core-5.7.0.jar:5.7.0] at org.apache.activemq.jms.pool.PooledSession.createQueue(PooledSession.java:197)[activemq-jms-pool-5.10.2.jar:5.10.2] at org.springframework.jms.support.destination.DynamicDestinationResolver.resolveQueue(DynamicDestinationResolver.java:84)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.jms.support.destination.DynamicDestinationResolver.resolveDestinationName(DynamicDestinationResolver.java:58)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.jms.support.destination.JmsDestinationAccessor.resolveDestinationName(JmsDestinationAccessor.java:98)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:204)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecessary(DefaultMessageListenerContainer.java:1167)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1143)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1136)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1033)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_71] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_71]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
tvrmsmithtvrmsmith
8 times, last one
kjhdofjosvskjhdofjosvs
4 times, last one
Unknown visitor
Unknown visitorOnce,
1 more bugmates