activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harshvardhan Ojha <ojha.harshvard...@gmail.com>
Subject ActiveMQ : The session has already been closed
Date Wed, 07 Sep 2016 07:27:24 GMT
Hi All,

I am facing some issue with mq version is 5.12 with PooledConnectionFactory.
I am using spring jms to produce and consume data form active mq.

Execution of JMS message listener failed, and no ErrorHandler has been
set.","logger_name":"org.springframework.jms.listener.DefaultMessageListenerContainer","thread_name":"dataProcessorContainer-43933","level":"WARN","level_value":30000,"stack_trace":"
java.lang.IllegalStateException: The session has already been closed\n\tat
org.apache.activemq.jms.pool.PooledSession.safeGetSessionHolder(PooledSession.java:482)
~[activemq-jms-pool-5.12.0.jar:5.12.0]\n\tat
org.apache.activemq.jms.pool.PooledSession.getInternalSession(PooledSession.java:382)
~[activemq-jms-pool-5.12.0.jar:5.12.0]\n\tat
org.apache.activemq.jms.pool.PooledSession.getTransacted(PooledSession.java:260)
~[activemq-jms-pool-5.12.0.jar:5.12.0]\n\tat
org.springframework.jms.listener.AbstractMessageListenerContainer.commitIfNecessary(AbstractMessageListenerContainer.java:710)
~[spring-jms-4.1.6.RELEASE.jar:4.1.6.RELEASE]\n\tat
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:619)
~[spring-jms-4.1.6.RELEASE.jar:4.1.6.RELEASE]\n\tat
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:308)
[spring-jms-4.1.6.RELEASE.jar:4.1.6.RELEASE]\n\tat
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:246)
[spring-jms-4.1.6.RELEASE.jar:4.1.6.RELEASE]\n\tat
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1144)
[spring-jms-4.1.6.RELEASE.jar:4.1.6.RELEASE]\n\tat
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1136)
[spring-jms-4.1.6.RELEASE.jar:4.1.6.RELEASE]\n\tat
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1033)
[spring-jms-4.1.6.RELEASE.jar:4.1.6.RELEASE]\n\tat
java.lang.Thread.run(Thread.java:745)

This issue is not getting replicated very frequently. Anyone faced this
issue before or clue on how to resolve this issue ?

Thanks in advance.

Regards
Harshvardhan Ojha

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message