activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <demablo...@gmail.com>
Subject javax.jms.IllegalStateException: The Consumer is closed
Date Thu, 10 Oct 2013 15:13:19 GMT
Hello:

I'm using AMQ 5.8 ( + integration with Spring ) and I'm getting this
error sometimes in my application's logfile
I attatch the log stacktrace

What could be the reason ? Was a problem on client or on server ? a
server failover ?

Thanks


[ActiveMQ Transport: tcp://broker1/127.0.0.1:61616@41534] 12:37:27,433
WARN  org.apache.activemq.transport.failover.FailoverTransport.handleTransportFailure(FailoverTransport.java:255)
- Transport (tcp://127.0.0.1:61616) failed, reason:
java.io.EOFException, not attempting to automatically reconnect
[org.springframework.jms.listener.DefaultMessageListenerContainer#dc7df0d-2]
12:37:27,443 WARN
org.springframework.jms.listener.DefaultMessageListenerContainer.handleListenerSetupFailure(DefaultMessageListenerContainer.java:818)
- Setup of JMS message listener invoker failed for destination
'OLSMS.TO.C2C' - trying to recover. Cause: The Consumer is closed
javax.jms.IllegalStateException: The Consumer is closed
    at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:817)
    at org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:581)
    at org.apache.activemq.pool.PooledMessageConsumer.receive(PooledMessageConsumer.java:67)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:429)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:310)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
    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)

Mime
View raw message