activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: javax.jms.IllegalStateException: The Consumer is closed
Date Thu, 10 Oct 2013 15:25:56 GMT
What cacheLevel are you using for your spring DMLC?


On Thu, Oct 10, 2013 at 8:13 AM, Jose MarĂ­a Zaragoza
<demablogia@gmail.com>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)
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

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