activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: javax.jms.IllegalStateException: The Consumer is closed
Date Thu, 10 Oct 2013 15:25:35 GMT
On 10/10/2013 11:13 AM, Jose MarĂ­a Zaragoza wrote:
> 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)
>
It's possible you are running into this bug: 
https://issues.apache.org/jira/browse/AMQ-4366

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message