Session is closed exception

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Session is closed exception

Hilderich
Hello All,

We are using in Talend activemq under the hood by component tJMSInput. This DI Job runs all the time but we get sometimes the exception:

javax.jms.IllegalStateException: The Session is closed
	at org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:731)
	at org.apache.activemq.ActiveMQMessageConsumer$1.execute(ActiveMQMessageConsumer.java:551)
	at org.apache.activemq.command.ActiveMQMessage.acknowledge(ActiveMQMessage.java:97)

First question: Is the cause client or server (broker)?
Seciond question: If it is the client what can it do to avoid this exception maybe by establish a new connection/session?

See also: http://www.talendforge.org/forum/viewtopic.php?id=38444

The client is using activemq version 5.7.0

Kind regards
Hilderich