Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 93443 invoked from network); 14 Apr 2006 18:44:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Apr 2006 18:44:00 -0000 Received: (qmail 14511 invoked by uid 500); 14 Apr 2006 18:43:57 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 14430 invoked by uid 500); 14 Apr 2006 18:43:56 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 14237 invoked by uid 99); 14 Apr 2006 18:43:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2006 11:43:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2006 11:43:55 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DD5207142A1 for ; Fri, 14 Apr 2006 18:43:02 +0000 (GMT) Message-ID: <67180391.1145040182904.JavaMail.jira@brutus> Date: Fri, 14 Apr 2006 18:43:02 +0000 (GMT+00:00) From: "Deepa Remesh (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1025) [xa] client XAResource.start() does not commit an active local transaction when auto commit is true In-Reply-To: <1330918438.1140572931064.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1025?page=all ] Deepa Remesh updated DERBY-1025: -------------------------------- Attachment: derby-1025-patch2-v1.diff derby-1025-patch2-v1.status Thanks Kathey for updating the master files. The diffs in the master file are expected. This is because the error messages were changed by commit for DERBY-842, svn revision# 393967. I had my workspace synched up to a older revision when I created the patch. I am attaching 'derby-1025-patch2-v1.diff' which changes checkDataSource test to test that starting a global transcation when a local transaction is active will give an exception. The XA error code is also printed out to verify that we get the expected exception. This patch will resolve this issue fully. With this patch, I have run checkDataSource checkDataSource30 tests with embedded and client frameworks. Please take a look at this patch. > [xa] client XAResource.start() does not commit an active local transaction when auto commit is true > --------------------------------------------------------------------------------------------------- > > Key: DERBY-1025 > URL: http://issues.apache.org/jira/browse/DERBY-1025 > Project: Derby > Type: Bug > Components: Network Client > Reporter: Daniel John Debrunner > Assignee: Deepa Remesh > Attachments: derby-1025-draft1.diff, derby-1025-draft1.status, derby-1025-patch1-v1.diff, derby-1025-patch1-v1.status, derby-1025-patch2-v1.diff, derby-1025-patch2-v1.status > > Embedded XAResource.start() implementation commits the active local transaction on the Connection associated with the XAResource if the connection is auto-commit mode. > Client incorrectly throws an XAException with the XAER_RMFAIL error code (see DERBY-1024) > XATest contains a work-around for client (calling commit) with a comment with this bug number. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira