javax.jms.IllegalStateException: The Session is closed

Stack Overflow | Harmony888 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Camel routes fail to recover ActiveMq connection when sharing a single connection

    Stack Overflow | 6 months ago | Harmony888
    javax.jms.IllegalStateException: The Session is closed
  2. 0

    ActiveMQ - User - After broker restart, forever seeing 'javax.jms.IllegalStateException: The Session is closed' exceptions

    nabble.com | 10 months ago
    org.springframework.jms.IllegalStateException: The Session is closed; nested exception is javax.jms.IllegalStateException: The Session is closed
  3. 0

    JMS Connection is closed with Spring Boot

    Stack Overflow | 2 years ago | user1581366
    org.springframework.jms.IllegalStateException: The Session is closed; nested exception is javax.jms.IllegalStateException: The Session is closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    2 unregistered visitors

    Root Cause Analysis

    1. javax.jms.IllegalStateException

      The Session is closed

      at org.apache.activemq.ActiveMQSession.checkClosed()
    2. ActiveMQ :: Core
      ActiveMQSession.createQueue
      1. org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:731)[activemq-core-5.7.0.jar:5.7.0]
      2. org.apache.activemq.ActiveMQSession.createQueue(ActiveMQSession.java:1169)[activemq-core-5.7.0.jar:5.7.0]
      2 frames
    3. AMQ bundle
      PooledSession.createQueue
      1. org.apache.activemq.jms.pool.PooledSession.createQueue(PooledSession.java:197)[activemq-jms-pool-5.10.2.jar:5.10.2]
      1 frame
    4. Spring Framework
      DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
      1. org.springframework.jms.support.destination.DynamicDestinationResolver.resolveQueue(DynamicDestinationResolver.java:84)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.jms.support.destination.DynamicDestinationResolver.resolveDestinationName(DynamicDestinationResolver.java:58)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      3. org.springframework.jms.support.destination.JmsDestinationAccessor.resolveDestinationName(JmsDestinationAccessor.java:98)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      4. org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:204)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      5. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecessary(DefaultMessageListenerContainer.java:1167)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      6. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1143)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      7. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1136)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      8. org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1033)[spring-jms-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      8 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_71]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_71]
      3. java.lang.Thread.run(Thread.java:745)[na:1.7.0_71]
      3 frames