Did you find a solution for your problem.
Even am runnuing into a similar issue.
I get javax.jms.IllegalStateException: The Consumer is closed at ..
exception after consumer runs and consumes messages for sometime.
Everytime i get this exception ,it is at different intervals.
Is there any property or setting that i need to do.
Am a newbie to activemq.
We are using Activemq 5 and java 5.
Appreciate if you could help me.

Thansk.


Sanjiv Jivan wrote:
> 
> I have a server that embeds an ActiveMQ broker and exports a Lingo
> Remotable
> service. The server often gets into a bad state where tons of exceptions
> like the ones below are logged to console and CPU is pegged by this
> endless
> loop of exceptions. This seems to happen after the server runs for several
> hours. Any idea what might be closing the "consumer"? The client to this
> app
> is up when the server gets into this state and the conversations between
> the
> client and server are short request-reposonse's.
> 
> 2007-04-09 09:38:51,265 ERROR [
> org.springframework.jms.listener.DefaultMessageListenerContainer] -
> <Execution of JMS message listener failed>
> javax.jms.IllegalStateException: The Consumer is closed
>     at org.apache.activemq.ActiveMQMessageConsumer.checkClosed(
> ActiveMQMessageConsumer.java:610)
>     at org.apache.activemq.ActiveMQMessageConsumer.receive(
> ActiveMQMessageConsumer.java:466)
>     at
> org.springframework.jms.listener.DefaultMessageListenerContainer.doExecuteListener
> (DefaultMessageListenerContainer.java:301)
>     at
> org.springframework.jms.listener.DefaultMessageListenerContainer.executeListener
> (DefaultMessageListenerContainer.java:292)
>     at
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run
> (DefaultMessageListenerContainer.java:367)
>     at
> org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run
> (SimpleAsyncTaskExecutor.java:203)
>     at java.lang.Thread.run(Thread.java:534)
> 
> 
> Thanks,
> Sanjiv
> 
> 

-- 
View this message in context: 
http://www.nabble.com/IllegalStateException%3A-The-Consumer-is-closed-tp9905220s2354p14847418.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to