Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 55786 invoked from network); 5 Jan 2008 07:24:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2008 07:24:19 -0000 Received: (qmail 8831 invoked by uid 500); 5 Jan 2008 07:24:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 8809 invoked by uid 500); 5 Jan 2008 07:24:08 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 8800 invoked by uid 99); 5 Jan 2008 07:24:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 23:24:08 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajdavies@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 07:23:42 +0000 Received: by ug-out-1314.google.com with SMTP id k3so3216126ugf.5 for ; Fri, 04 Jan 2008 23:23:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=vUgMeKcYYP7j5vOhhrVts9xZtU7KlbH4HUlgTxAqclU=; b=q+6g0RHCna39/jyEENLNGQ31QirCecmH4hPPHt7cJ4TZIqbzpnA1SNUOTMIMhxk6Dvzsct9mjN9A6Dna2f+ycuRlvxG7u+Pt4oTgxj8T0r1UqkeDJtY0grjf5PtPlCNmHhsJyGrQy4K09iJtlXMo03YJRwVr8QL6tINyL60NLZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=TR+754A6uuRfouRlw+Vv5X6irGZl341waPWg7oeiB/MiF+NnPQPYtXm3zmGOdUS1xFjGILCugEUgi9CsSpaFigK+S2uMWyFFxPq3tkGLMdUGcyVD7XaGz14pcqvAACb3dyXnOE06kNg9WEugmTv3mWgpRwymotRptNj9uYEgPm4= Received: by 10.67.115.9 with SMTP id s9mr9463126ugm.81.1199517826225; Fri, 04 Jan 2008 23:23:46 -0800 (PST) Received: from ?192.168.1.73? ( [81.151.76.200]) by mx.google.com with ESMTPS id 34sm6661414nfu.26.2008.01.04.23.23.43 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Jan 2008 23:23:44 -0800 (PST) Message-Id: From: Rob Davies To: users@activemq.apache.org In-Reply-To: <14628715.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Deadlock in Active MQ 5.0 Date: Sat, 5 Jan 2008 07:23:42 +0000 References: <14627978.post@talk.nabble.com> <14628715.post@talk.nabble.com> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org This looks like a very old version you are using - could you use the latest ActiveMQ snapshot ? On Jan 5, 2008, at 1:36 AM, ManojC wrote: > > No we are not running on jre 1.4 it is the one which come with JDK > 1.6. > > Thanks > Manoj > > ManojC wrote: >> >> Did any body faced this problem. My application get stuck on this >> stack >> trace in 5.0. The project was done in such way that it getMessage >> from >> Queue1 and post to Queue2 and the other one getFromthe Queue1 and >> post >> back to Queue2. >> so it look like something >> >> poll(q1)->send)q2) >> ->poll(q2)->send(q1) >> >> Before getting the message from the Queue we browse to see if there >> is any >> message in the queue or not using the QueueBrowser if there is then >> we go >> and fetch the message. >> >> When we try to deactivate our application it get stuck on the >> following >> stack >> ool-5-thread-11" prio=10 tid=0x7f378000 nid=0x1895 in Object.wait() >> [0x7c984000..0x7c984770] >> java.lang.Thread.State: WAITING (on object monitor) >> at java.lang.Object.wait(Native Method) >> at java.lang.Object.wait(Object.java:485) >> at >> edu >> .emory >> .mathcs >> .backport.java.util.concurrent.locks.CondVar.await(CondVar.java:75) >> - locked <0x87861060> (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:42) >> at >> org >> .apache >> .activemq >> .transport.ResponseCorrelator.request(ResponseCorrelator.java:75) >> at >> org >> .apache >> .activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java: >> 1171) >> at >> org >> .apache >> .activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1660) >> at >> org >> .apache >> .activemq >> .ActiveMQMessageConsumer.(ActiveMQMessageConsumer.java:197) >> at >> org.apache.activemq.ActiveMQQueueBrowser >> $1.(ActiveMQQueueBrowser.java:104) >> at >> org >> .apache >> .activemq >> .ActiveMQQueueBrowser.createConsumer(ActiveMQQueueBrowser.java:102) >> at >> org >> .apache >> .activemq.ActiveMQQueueBrowser.(ActiveMQQueueBrowser.java:88) >> at >> org >> .apache.activemq.ActiveMQSession.createBrowser(ActiveMQSession.java: >> 1116) >> at >> com >> .approuter >> .module >> .jms.activity.MessagePoller.isMessageInQueue(MessagePoller.java:182) >> at >> com >> .approuter.module.jms.activity.MessagePoller.run(MessagePoller.java: >> 103) >> at >> com.approuter.module.common.resource.PollingJob.run(PollingJob.java: >> 66) >> - locked <0x8705de50> (a >> com.approuter.module.common.resource.PollingJob) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java: >> 441) >> at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor >> $ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor >> $ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) >> at >> java.util.concurrent.ThreadPoolExecutor >> $Worker.runTask(ThreadPoolExecutor.java:885) >> at >> java.util.concurrent.ThreadPoolExecutor >> $Worker.run(ThreadPoolExecutor.java:907) >> at java.lang.Thread.run(Thread.java:619) >> >> >> Any idea will appreciated. How can I open a bug against Active MQ 5.0 >> >> >> > > -- > View this message in context: http://www.nabble.com/Deadlock-in-Active-MQ-5.0-tp14627978s2354p14628715.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >