Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 79010 invoked from network); 24 Mar 2008 08:02:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2008 08:02:35 -0000 Received: (qmail 71166 invoked by uid 500); 24 Mar 2008 08:02:33 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 71135 invoked by uid 500); 24 Mar 2008 08:02:33 -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 71125 invoked by uid 99); 24 Mar 2008 08:02:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 01:02:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 08:02:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2286234C0AC for ; Mon, 24 Mar 2008 01:00:32 -0700 (PDT) Message-ID: <289107143.1206345632859.JavaMail.jira@brutus> Date: Mon, 24 Mar 2008 01:00:32 -0700 (PDT) From: "David Jencks (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1438) When in XA Transaction Active-MQ integrated with OpenEJB hangs in the isSameRM method of LocalAndXATransaction. In-Reply-To: <31037315.1191396622753.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41761#action_41761 ] David Jencks commented on AMQ-1438: ----------------------------------- Applied modified version of the patch in rev 640340. Passed options into server.connect method so that correct TransportAcceptListener is sure to be used. > When in XA Transaction Active-MQ integrated with OpenEJB hangs in the isSameRM method of LocalAndXATransaction. > ---------------------------------------------------------------------------------------------------------------- > > Key: AMQ-1438 > URL: https://issues.apache.org/activemq/browse/AMQ-1438 > Project: ActiveMQ > Issue Type: Bug > Components: Connector, Transport > Affects Versions: 4.1.1 > Environment: All > Reporter: Manu T George > Assignee: David Jencks > Priority: Critical > Fix For: 4.1.2 > > Attachments: AMQ-1438.patch > > > I was facing a problem with the AMQ 4.1 with the LocalAndXATransaction class's isSameRM waiting indefinitely. The wait is because waitForBrokerInfo calls brokerInfoReceived.await() > where brokerInfoReceived is a countdown latch. Once this is waiting it > never gets resumed. > To trigger it the method onCommand(final Object o) has to be called on > org.apache.activemq.ActiveMQConnection. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.