Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 68511 invoked from network); 5 Oct 2006 22:05:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 22:05:25 -0000 Received: (qmail 15410 invoked by uid 500); 5 Oct 2006 22:05:24 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 15385 invoked by uid 500); 5 Oct 2006 22:05:24 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 15376 invoked by uid 99); 5 Oct 2006 22:05:24 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 15:05:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:55003] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 0E/3C-04543-2A185254 for ; Thu, 05 Oct 2006 15:05:22 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 39D017141D1 for ; Thu, 5 Oct 2006 15:05:09 -0700 (PDT) Message-ID: <4912971.1160085909234.JavaMail.root@brutus> Date: Thu, 5 Oct 2006 15:05:09 -0700 (PDT) From: "Hiram Chirino (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Commented: (AMQ-813) can get a shutdown hang when using embedded broker with VM transport along with the activemq-web module In-Reply-To: <31050044.1152628431796.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ https://issues.apache.org/activemq/browse/AMQ-813?page=comments#action_37112 ] Hiram Chirino commented on AMQ-813: ----------------------------------- Hi Gary, Please open a new issue since ti seems like a different problem. Also, a small web app test case would help us be able to reproduce the issue. > can get a shutdown hang when using embedded broker with VM transport along with the activemq-web module > ------------------------------------------------------------------------------------------------------- > > Key: AMQ-813 > URL: https://issues.apache.org/activemq/browse/AMQ-813 > Project: ActiveMQ > Issue Type: Bug > Reporter: james strachan > Assigned To: Hiram Chirino > Fix For: 4.1, 4.0.2 > > > See attached thread dump. I think we just need to use a timeout on the close operations (such as to close consumers, sessions, producers) > Full thread dump Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing): > > "Shutdown" prio=1 tid=0x08385960 nid=0x5e99 in Object.wait() [0xaed7d000..0xaed7e130] > at java.lang.Object.wait(Native Method) > - waiting on <0x88af01c8> (a edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar) > at java.lang.Object.wait(Object.java:474) > at edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar.await(CondVar.java:75) > - locked <0x88af01c8> (a edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar) > at edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:318) > at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:41) > at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:72) > at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1130) > at org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1660) > at org.apache.activemq.ActiveMQMessageConsumer.close(ActiveMQMessageConsumer.java:516) > at org.apache.activemq.web.WebClient.closeConsumers(WebClient.java:135) > - locked <0x893e6558> (a org.apache.activemq.web.WebClient) > at org.apache.activemq.web.WebClient.close(WebClient.java:145) > - locked <0x893e6558> (a org.apache.activemq.web.WebClient) > at org.apache.activemq.web.WebClient.valueUnbound(WebClient.java:318) > at org.mortbay.jetty.servlet.AbstractSessionManager$Session.unbindValue(AbstractSessionManager.java:899) > at org.mortbay.jetty.servlet.AbstractSessionManager$Session.invalidate(AbstractSessionManager.java:755) > - locked <0x893caa88> (a org.mortbay.jetty.servlet.HashSessionManager$Session) > at org.mortbay.jetty.servlet.AbstractSessionManager.doStop(AbstractSessionManager.java:551) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:63) > at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandler.java:124) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:63) > at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:131) > at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:467) > at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:477) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:63) > at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:173) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:63) > at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:173) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:63) > at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:131) > at org.mortbay.jetty.Server.doStop(Server.java:242) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:63) > at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:450) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira