Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49D4611905 for ; Sun, 31 Aug 2014 03:19:54 +0000 (UTC) Received: (qmail 93771 invoked by uid 500); 31 Aug 2014 03:19:54 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 93716 invoked by uid 500); 31 Aug 2014 03:19:53 -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 93702 invoked by uid 99); 31 Aug 2014 03:19:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Aug 2014 03:19:53 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Aug 2014 03:19:48 +0000 Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id B8B4845C965 for ; Sat, 30 Aug 2014 20:13:37 -0700 (PDT) Date: Sat, 30 Aug 2014 20:19:23 -0700 (PDT) From: artnaseef To: users@activemq.apache.org Message-ID: <1409455163574-4685180.post@n4.nabble.com> In-Reply-To: References: <1408643799623-4684887.post@n4.nabble.com> <1408768871288-4684969.post@n4.nabble.com> Subject: Re: JMS to JMS bridge reconnection dispatching not working in simple conditions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Good catch. Something looks very wrong with this deadlock picture. Both threads are blocking on this call: org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:66) Which is this instruction: writeLock.lock(); Which is this method call: java.util.concurrent.locks.ReentrantLock.lock(); Either one or the other should hold the lock if it's truly a deadlock, which leads to the question of why they both block attempting to lock it. Can you upload the full stacktrace? If you need a place, it would be appropriate to create a ticket and attach it there. Further, since "ActiveMQ Transport: tcp://localhost/127.0.0.1:61618@55559" calls MutexTransport.oneway() twice in the same stack trace, it must be the thread already holding the lock - so, why would it block waiting to lock it again? The ReentrantLock allows multiple, recursive locks by the same thread. -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-bridge-reconnection-dispatching-not-working-in-simple-conditions-tp4684887p4685180.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.