javax.jms.IllegalStateException: [JMSPool:169816]The JMS session pool is shutting down

Oracle Community | Vikram KC | 6 months ago
  1. 0

    OSB Proxy Service using File Transport unable to poll for files in a Clustered Environment

    Oracle Community | 6 months ago | Vikram KC
    javax.jms.IllegalStateException: [JMSPool:169816]The JMS session pool is shutting down
  2. 0

    We use a custom Oracle Streams AQ integration built on Spring JMS. Everything worked great in 3.0.3. In 3.0.4 the fix to SPR-7366 ran into SPR-7478 which is now fixed. Now with the 3.0.5 SNAPSHOT we're getting another error also caused by SPR-7366. The exception is below. This appears to be caused by the addition of a commit in AbstractPollingMessageListenerContainer:354. This commit is then happening again in AbstractPollingMessageListenerContainer:255. Sep 28, 2010 2:26:32 PM org.springframework.jms.listener.DefaultMessageListenerContainer handleListenerSetupFailure WARNING: Setup of JMS message listener invoker failed for destination 'fulfillment' - trying to recover. Cause: Local JMS transaction failed to commit; nested exception is javax.jms.IllegalStateException: JMS-131: Session is closed org.springframework.jms.connection.SynchedLocalTransactionFailedException: Local JMS transaction failed to commit; nested exception is javax.jms.IllegalStateException: JMS-131: Session is closed at org.springframework.jms.connection.ConnectionFactoryUtils$JmsResourceSynchronization.processResourceAfterCommit(ConnectionFactoryUtils.java:407) at org.springframework.jms.connection.ConnectionFactoryUtils$JmsResourceSynchronization.processResourceAfterCommit(ConnectionFactoryUtils.java:1) at org.springframework.transaction.support.ResourceHolderSynchronization.afterCommit(ResourceHolderSynchronization.java:79) at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCommit(TransactionSynchronizationUtils.java:133) at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerAfterCommit(TransactionSynchronizationUtils.java:121) at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCommit(AbstractPlatformTransactionManager.java:953) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:796) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:255) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: javax.jms.IllegalStateException: JMS-131: Session is closed at oracle.jms.AQjmsError.throwIllegalStateEx(AQjmsError.java:471) at oracle.jms.AQjmsSession.checkSessionStarted(AQjmsSession.java:4736) at oracle.jms.AQjmsSession.commit(AQjmsSession.java:1009) at org.springframework.jms.connection.JmsResourceHolder.commitAll(JmsResourceHolder.java:181) at org.springframework.jms.connection.ConnectionFactoryUtils$JmsResourceSynchronization.processResourceAfterCommit(ConnectionFactoryUtils.java:404) ... 14 more

    Spring JIRA | 6 years ago | Mike Youngstrom
    org.springframework.jms.connection.SynchedLocalTransactionFailedException: Local JMS transaction failed to commit; nested exception is javax.jms.IllegalStateException: JMS-131: Session is closed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JMS Connection is closed with Spring Boot

    Stack Overflow | 2 years ago | user1581366
    org.springframework.jms.listener.adapter.ListenerExecutionFailedException: Listener method 'public void com.bulkLoader.services.BulkLoaderServices.bulkLoad(java.io.File)' threw exception; nested exception is org.springframework.jms.IllegalStateException: The Session is closed; nested exception is javax.jms.IllegalStateException: The Session is closed
  5. 0

    Connection refused to host: 127.0.0.1 | JBoss Developer

    jboss.org | 3 months ago
    javax.jms.IllegalStateException: The session is closed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.jms.IllegalStateException

      [JMSPool:169816]The JMS session pool is shutting down

      at weblogic.deployment.jms.JMSExceptions.getIllegalStateException()
    2. weblogic.deployment.jms
      WrappedConnection.createQueueSession
      1. weblogic.deployment.jms.JMSExceptions.getIllegalStateException(JMSExceptions.java:38)
      2. weblogic.deployment.jms.JMSSessionPool.checkClosed(JMSSessionPool.java:932)
      3. weblogic.deployment.jms.JMSSessionPool.getSession(JMSSessionPool.java:462)
      4. weblogic.deployment.jms.PooledConnection.doCreateSession(PooledConnection.java:259)
      5. weblogic.deployment.jms.WrappedConnection.createQueueSession(WrappedConnection.java:134)
      5 frames
    3. com.bea.wli
      TransportTimerListener.run
      1. com.bea.wli.sb.transports.poller.PollEngine.sendMessage(PollEngine.java:129)
      2. com.bea.wli.sb.transports.poller.PollEngine.putMessageInQueue(PollEngine.java:108)
      3. com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:77)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      8. java.lang.Thread.run(Thread.java:662)
      8 frames