activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Probable bug.
Date Thu, 07 Jun 2007 09:32:59 GMT
I guess we could use a timeout based close request with the broker (so
it times out after a while)

On 6/6/07, Hiram Chirino <hiram@hiramchirino.com> wrote:
> For the stack trace it looks normal.  ActiveMQ is waiting for a
> response from the broker which may take a while.  If it takes forever,
> it would be interesting to find out if the broker is remote or if the
> vm:// transport is being used.
>
> Another way to resolve this is to have the Spring
> DefaultMessageListenerContainer use a deamon thread.  Not sure if
> there is a way to configure that.
>
> Regards,
> Hiram
>
>
> On 6/5/07, Maxim Butov <mbutov@gmail.com> wrote:
> >
> > Hi. I discovered a problem that during shutdown ActiveMQ hangs up preventing
> > JVM to exit. Stacktrace is below. Is it a bug or a bad configuration?
> >
> > Regards,
> > Maxim
> >
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > Thread[listenerContainerBean-1,5,main]
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |       java.lang.Object.wait(Native
> > Method)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar.await(CondVar.java:75)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:318)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:42)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:75)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1175)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1663)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.apache.activemq.ActiveMQMessageConsumer.close(ActiveMQMessageConsumer.java:542)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.springframework.jms.support.JmsUtils.closeMessageConsumer(JmsUtils.java:144)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.clearResources(DefaultMessageListenerContainer.java:899)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:865)
> > INFO   | jvm 1    | 2007/06/05 15:22:35 |
> > java.lang.Thread.run(Thread.java:595)
> >
> > --
> > View this message in context: http://www.nabble.com/Probable-bug.-tf3871562s2354.html#a10968768
> > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> >
> >
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>


-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message