Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 74827 invoked from network); 6 Jul 2007 06:38:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jul 2007 06:38:50 -0000 Received: (qmail 34821 invoked by uid 500); 6 Jul 2007 11:46:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 34731 invoked by uid 500); 6 Jul 2007 11:46:43 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 34685 invoked by uid 99); 6 Jul 2007 11:46:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 04:46:43 -0700 Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 04:46:40 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3E3657141F5 for ; Fri, 6 Jul 2007 04:46:05 -0700 (PDT) Message-ID: <24212998.1183722365250.JavaMail.jira@brutus> Date: Fri, 6 Jul 2007 04:46:05 -0700 (PDT) From: "Adam Hatherly (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-861) Connector should support LocalTransaction as well as XATransaction In-Reply-To: <24551202.1177324515500.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/JCR-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Hatherly updated JCR-861: ------------------------------ Description: According to the Java connector specification, an application server may choose to use a LocalTransaction rather than an XATransaction if it determines that an XATransaction is not needed. Jackrabbit's connector code supports XA transactions but throws an exception if the server requests a LocalTransaction. The JCA code should be able to support LocalTransaction which could be easily mapped internally to calls to the XAResource interface. I get this problem when I deploy on Websphere 5.1 or WebSphere 6, specifying XATransaction in the ra.xml file - in normal usage Websphere tries to obtain a LocalTransaction resulting in the exception: [17/04/07 15:32:58:887 BST] 57053d6b LocalTransact E J2CA0077E: An exception was caught while trying to obtain a javax.resource.cci.LocalTransaction from a ManagedConnection for resource jcr/local. The exception is: java.lang.UnsupportedOperationException: Local transaction is not supported My only workaround at present is to specify NoTransaction, but that may not be a good solution for many people. See post on jackrabbit users group from Wed, 18 Apr, 13:16 by Dominique Pfister. was: According to the Java connector specification, an application server may choose to use a LocalTransaction rather than an XATransaction if it determines that an XATransaction is not needed. Jackrabbit's connector code supports XA transactions but throws an exception if the server requests a LocalTransaction. The JCA code should be able to support LocalTransaction which could be easily mapped internally to calls to the XAResource interface. I get this problem when I deploy on Websphere 5.1, specifying XATransaction in the ra.xml file - in normal usage Websphere tries to obtain a LocalTransaction resulting in the exception: [17/04/07 15:32:58:887 BST] 57053d6b LocalTransact E J2CA0077E: An exception was caught while trying to obtain a javax.resource.cci.LocalTransaction from a ManagedConnection for resource jcr/local. The exception is: java.lang.UnsupportedOperationException: Local transaction is not supported My only workaround at present is to specify NoTransaction, but that may not be a good solution for many people. See post on jackrabbit users group from Wed, 18 Apr, 13:16 by Dominique Pfister. Environment: Websphere 5.1 and 6 on Linux, but may also apply on other platforms (was: Websphere 5.1 on Linux, but may also apply on other platforms) Affects Version/s: 1.3 Updated the description as I have now established that the issues effects all versions of WebSphere. > Connector should support LocalTransaction as well as XATransaction > ------------------------------------------------------------------ > > Key: JCR-861 > URL: https://issues.apache.org/jira/browse/JCR-861 > Project: Jackrabbit > Issue Type: Bug > Components: jca > Affects Versions: 1.2.3, 1.3 > Environment: Websphere 5.1 and 6 on Linux, but may also apply on other platforms > Reporter: Adam Hatherly > Priority: Minor > > According to the Java connector specification, an application server may choose to use a LocalTransaction rather than an XATransaction if it determines that an XATransaction is not needed. Jackrabbit's connector code supports XA transactions but throws an exception if the server requests a LocalTransaction. The JCA code should be able to support LocalTransaction which could be easily mapped internally to calls to the XAResource interface. > I get this problem when I deploy on Websphere 5.1 or WebSphere 6, specifying XATransaction in the ra.xml file - in normal usage Websphere tries to obtain a LocalTransaction resulting in the exception: > [17/04/07 15:32:58:887 BST] 57053d6b LocalTransact E J2CA0077E: An exception was caught > while trying to obtain a javax.resource.cci.LocalTransaction from a ManagedConnection for > resource jcr/local. The exception is: java.lang.UnsupportedOperationException: Local transaction > is not supported > My only workaround at present is to specify NoTransaction, but that may not be a good solution for many people. > See post on jackrabbit users group from Wed, 18 Apr, 13:16 by Dominique Pfister. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.