Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 83718 invoked from network); 5 Mar 2007 23:37:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 23:37:57 -0000 Received: (qmail 14436 invoked by uid 500); 5 Mar 2007 23:37:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 14405 invoked by uid 500); 5 Mar 2007 23:37:59 -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 14131 invoked by uid 99); 5 Mar 2007 23:37:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 15:37:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 15:37:45 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E1697714077 for ; Mon, 5 Mar 2007 15:37:24 -0800 (PST) Message-ID: <28541484.1173137844919.JavaMail.root@brutus> Date: Mon, 5 Mar 2007 15:37:24 -0800 (PST) From: "Prashant Bhagat (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2220) Uncommitted transactions executed throught XAResource will held locks after the application terminates (or crashes during the transaction). In-Reply-To: <24350220.1168262307723.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/jira/browse/DERBY-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478208 ] Prashant Bhagat commented on DERBY-2220: ---------------------------------------- Hi Lance, I'm working for the BPEL Service Engine team in the Alaska project. Julius (from Java DB support team) has fixed a bug that I reported in Derby and has created a patch. We would like to know 1. How and when do new releases of Derby get integrated in glassfish? 2. How do patches, such as this one, get integrated in glassfish? Binod from the glassfish team gave me your reference and said that you might know this. If not, do you know who the right person is who can give this information. Thanks Prashant > Uncommitted transactions executed throught XAResource will held locks after the application terminates (or crashes during the transaction). > ------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-2220 > URL: https://issues.apache.org/jira/browse/DERBY-2220 > Project: Derby > Issue Type: Bug > Affects Versions: 10.3.0.0 > Environment: Solaris Nevada build 49, Sun's JDK1.6 > Reporter: Julius Stroffek > Assigned To: Julius Stroffek > Attachments: d2220_beta.diff, d2220_beta2.diff, d2220_try1.diff, d2220_try1.stat, d2220_try2.diff, d2220_try2.stat, d2220_try4.diff, d2220_try4.stat, XATranTest.java, xxx.sql > > > Using this piece of code derby will not release a table lock of 'dummy' table. > String query = "insert into dummy (field1) values ('" + Integer.toString(value) + "')"; > XAConnection xaConnection = createXAConnection("jdbc:derby://localhost:1527/TestDB", "", ""); > XAResource xaResource = xaConnection.getXAResource(); > conn = xaConnection.getConnection(); > > Xid xid = createXid(value); > xaResource.setTransactionTimeout(10); > xaResource.start(xid, XAResource.TMNOFLAGS); > > Statement statement = conn.createStatement(); > statement.execute(query); > > // terminate the client application > // this will not release any locks > System.exit(0); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.