From dev-return-8846-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Tue Nov 13 22:11:54 2007 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 57835 invoked from network); 13 Nov 2007 22:11:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2007 22:11:54 -0000 Received: (qmail 40449 invoked by uid 500); 13 Nov 2007 22:11:41 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 40420 invoked by uid 500); 13 Nov 2007 22:11:41 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 40410 invoked by uid 99); 13 Nov 2007 22:11:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 14:11:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirino@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 22:11:43 +0000 Received: by wa-out-1112.google.com with SMTP id k22so2012775waf for ; Tue, 13 Nov 2007 14:11:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=iPQENerdLajkgdox2mC6jcPZjvEQyAB+Zm0DZmZ1k18=; b=mjzdCeSH5Bju7JYrrIMIc6z6mpIK8CVT8gtdQCCOF7G79+/tr83/ay6qm9ztWM4HDjw812KFG2nbP+h+ocVTVu3P6ZGCuTy8ZYvI7ZqWT5Qlc4aYZTA3PU2bFcxR+sfSYyC+Q3E+lcXHXSt9sezmaO9jDQ9V21zHHVFfkUUcGMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=AHjGXtRv9ZzVF3cROyCNcVFfPLQzsBzTc5b8Dv7ng9+BS99SrFoyRKvpdN/Jrxca/42bZpDOV9rBcVh72gSIynO9fuTafTE9yQZUspUWTwh/CNmVO35f4SQmCFxcd0J8YgIB3ldD9MCE7eMN4781DQyerheADygwlWZAnt62HCc= Received: by 10.114.192.1 with SMTP id p1mr379461waf.1194991882498; Tue, 13 Nov 2007 14:11:22 -0800 (PST) Received: by 10.115.23.20 with HTTP; Tue, 13 Nov 2007 14:11:22 -0800 (PST) Message-ID: Date: Tue, 13 Nov 2007 17:11:22 -0500 From: "Hiram Chirino" Sender: chirino@gmail.com To: dev@activemq.apache.org Subject: Re: Please help check ActiveMQ 5.0.0 RC3 In-Reply-To: <47398E7A.3040704@dp-itsolutions.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <47398381.3080807@dp-itsolutions.de> <3C4F1867-0655-442E-9029-F1258AD07074@gmail.com> <47398E7A.3040704@dp-itsolutions.de> X-Google-Sender-Auth: a3e735ce2e34e865 X-Virus-Checked: Checked by ClamAV on apache.org HI Rainer, I commented on your issue. In short: I reviewed you test case and noticed that your consumer uses the same connection as the producer. It is possible to get into a deadlock situation when this occurs. If your producer blocks due to it waiting space on the broker, it will lock up the connection. At that point the consumer will not be able to consume anymore messages either. I believe your deadlocks will go away if you use separate connections for the consumer and producer threads. On Nov 13, 2007 6:46 AM, Rainer Klute wrot= e: > Rob Davies schrieb: > > does this issue occur with the default persistence - AMQStore for > > 5.0.0 R3 ? > > We are recommending this instead of Kaha in ActiveMQ 5.0 > > Yep. Here's my configuration from the JUnit test: > > > > > xmlns:amq=3D"http://activemq.org/config/1.0" > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation=3D"http://www.springframework.org/schema/beans http:= //www.springframework.org/schema/beans/spring-beans-2.0.xsd > > http://activemq.org/config/1.0 http://activemq.apache.org/schema/active= mq-core.xsd > > http://activemq.apache.org/camel/schema/spring http://activemq.apache.o= rg/camel/schema/spring/camel-spring.xsd"> > > > > > > > > > > > > > > > > > > > > > syncOnWrite=3D"false" maxFileLength=3D"32mb" persistentIndex=3D"t= rue" > > maxCheckpointMessageAddSize=3D"4kb" cleanupInterval=3D"300000" > > indexBinSize=3D"10000" indexKeySize=3D"96" indexPageSize=3D"16kb"= /> > > > > > > > > > > > > > > > > > > Mit freundlichen Gr=FC=DFen / Best regards > > Rainer Klute > IT Services Europe Architecture > > Deutsche Post IT Services GmbH > Konrad-Adenauer-Platz 1 > 40210 D=FCsseldorf > Germany > > Phone: +49 (0)211 163 1156 > Mobile: +49 (0)172 2324824 > http://www.dpwn.de/ > rainer.klute@dp-itsolutions.de > > OpenPGP fingerprint: 10F3E02A46E48B5BE7F1B70263F50FB920B926C2 > > > --=20 Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://open.iona.com