Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 2382 invoked from network); 18 Oct 2010 00:53:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Oct 2010 00:53:52 -0000 Received: (qmail 57944 invoked by uid 500); 18 Oct 2010 00:53:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 57890 invoked by uid 500); 18 Oct 2010 00:53:51 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 57882 invoked by uid 99); 18 Oct 2010 00:53:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 00:53:50 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 00:53:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9I0rMl7024033 for ; Mon, 18 Oct 2010 00:53:23 GMT Message-ID: <27578261.13061287363202769.JavaMail.jira@thor> Date: Sun, 17 Oct 2010 20:53:22 -0400 (EDT) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5649) txmanager could try to replace dead XAResources in commit and rollback tasks In-Reply-To: <20390966.11211287345202376.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks updated GERONIMO-5649: ----------------------------------- Attachment: GERONIMO-5649-1.patch This attempts to solve getting a new NamedXAResource when the existing one breaks, retry on recovery (GERONIMO-5648), and setting the tx timeout on XAResources (GERONIMO-452). Assumes TMFAIL means we need a new XAResource, TMRETRY means retry the existing one. Sets tx timeout to be time left on existing tx. This is for the 2.2 txmanager branch. > txmanager could try to replace dead XAResources in commit and rollback tasks > ---------------------------------------------------------------------------- > > Key: GERONIMO-5649 > URL: https://issues.apache.org/jira/browse/GERONIMO-5649 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: transaction manager > Affects Versions: 2.2, 3.0 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 2.2.1, 3.0 > > Attachments: GERONIMO-5649-1.patch > > > Generally if a RM crashes, outbound connections to it need to be reestablished. So if we have a in-doubt tx using an outbound connection, we should try to get a new XAResource to finish up the branch in the CommitTask and proposed RollbackTask. > AFAIK inbound connections will automatically reestablish connections and use the RETRY error code so we don't need to do this for inbound. I still need to find out which error codes indicate that we should get a new connection and try again. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.