activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Problem with activemq5.0
Date Tue, 27 May 2008 05:37:38 GMT

On 24 May 2008, at 09:07, dridi wrote:

>
> Hi,
>
> I'm using a spring 2.0.6 DefaultMessageListenerContainer to consume
> MapMessages from a Queue on ActiveMQ 5.0.
> During periods of inactivity exceptions appear in the log.  After  
> several
> minutes of inactivity the container stops consuming messages.
> Any help understanding these exception
>
> Example exception
>
> org.apache.activemq.ActiveMQConnection onAsyncException
> ATTENTION: Async exception with no exception listener:  
> java.io.EOFException
> java.io.EOFException
> 	at java.io.DataInputStream.readInt(DataInputStream.java:375)
> 	at
> org 
> .apache 
> .activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
> 	at
> org 
> .apache 
> .activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java: 
> 192)
> 	at
> org 
> .apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java: 
> 184)
> 	at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java: 
> 172)
> 	at java.lang.Thread.run(Thread.java:619)
> 24 mai 2008 09:59:03
> org.springframework.jms.listener.DefaultMessageListenerContainer
> handleListenerSetupFailure
> GRAVE: Setup of JMS message listener invoker failed - trying to  
> recover
> javax.jms.IllegalStateException: The Consumer is closed
> 	at
> org 
> .apache 
> .activemq 
> .ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:679)
> 	at
> org 
> .apache 
> .activemq 
> .ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:501)
> 	at
> org 
> .springframework 
> .jms 
> .listener 
> .AbstractPollingMessageListenerContainer 
> .receiveMessage(AbstractPollingMessageListenerContainer.java:375)
> 	at
> org 
> .springframework 
> .jms 
> .listener 
> .AbstractPollingMessageListenerContainer 
> .doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:300)
> 	at
> org 
> .springframework 
> .jms 
> .listener 
> .AbstractPollingMessageListenerContainer 
> .receiveAndExecute(AbstractPollingMessageListenerContainer.java:254)
> 	at
> org.springframework.jms.listener.DefaultMessageListenerContainer 
> $ 
> AsyncMessageListenerInvoker 
> .invokeListener(DefaultMessageListenerContainer.java:871)
> 	at
> org.springframework.jms.listener.DefaultMessageListenerContainer 
> $ 
> AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java: 
> 811)
> 	at java.lang.Thread.run(Thread.java:619)
> -- 
> View this message in context: http://www.nabble.com/Problem-with-activemq5.0-tp17445405s2354p17445405.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

This is a known problem in 5.0 - please use 5.1




cheers,

Rob

http://open.iona.com/products/enterprise-activemq
http://rajdavies.blogspot.com/





Mime
View raw message