Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 96988 invoked from network); 2 Jul 2009 01:58:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 01:58:22 -0000 Received: (qmail 44306 invoked by uid 500); 2 Jul 2009 01:58:32 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 44258 invoked by uid 500); 2 Jul 2009 01:58:32 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 44250 invoked by uid 99); 2 Jul 2009 01:58:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 01:58:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.57] (HELO smtp102.prem.mail.sp1.yahoo.com) (98.136.44.57) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Jul 2009 01:58:24 +0000 Received: (qmail 75967 invoked from network); 2 Jul 2009 01:58:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=UZSCLR7pGGPwYqoLUeLgxWXS/6QfSXTdLJM+ddnYXDsIUwLT5884BkOz5DXArUm35wPh9GW+qgoihadACULYPgiKi+MF5uXd5C3B6zJjjObpLEwLfiJLKmLgT5oMAQPl5x39eyAr1XSb7lzmhavcoiCQUwuCmOUKlvzBUDFFCgU= ; Received: from 076-076-148-215.pdx.net (david_jencks@76.76.148.215 with plain) by smtp102.prem.mail.sp1.yahoo.com with SMTP; 01 Jul 2009 18:58:03 -0700 PDT X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: uR688m8VM1kVEiXVCWKqw3ktzisA8soOz16_gFioZGe9JLsrkf7qFetqQUjpaBRAnB1P2sg.LiZ9_RmnFii1sP7hTFcCQtev6HDp8lVqvwjZuci.r72PqAUT4RJnXKr5z80hOew_iVWJyn7_DOOTc4Se1e3ALYgY2onPe4K11emAOesAZTRv38oQ.C.40eTEuMhMmcjrrB_0vXsJCAHlSYfDdhKHJll5H4ZDX6mKvLDtqAaXlHNP9jbHsmUabbDBZX6yaGu5dFa3X_fxQBFyxN3vzj7DiXEeSpTpFTI54Q4Qf8g9isXljoHKRufQdLR3_8koedkQw0JeAkI- X-Yahoo-Newman-Property: ymail-3 Message-Id: From: David Jencks To: user@geronimo.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: OpenEJB encountered an unknown system error in container: Date: Wed, 1 Jul 2009 18:58:02 -0700 References: <4A40EAC1.5000808@optitool.de> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org The tranql wrapper should be dealing with the autocommit state of the connection automatically. Is there any chance your code called setAutocommit(true)? Were there any sql errors before this? Which tranql wrapper are you using? I expect its the generic one but it doesn't hurt to check. thanks david jencks On Jul 1, 2009, at 4:11 PM, David Blevins wrote: > On Jun 23, 2009, at 7:46 AM, Michael Simons wrote: > >> Caused by: javax.resource.spi.LocalTransactionException: Unable to >> rollback >> at >> org >> .tranql >> .connector >> .jdbc >> .ManagedJDBCConnection >> .localTransactionRollback(ManagedJDBCConnection.java:113) >> at >> org.tranql.connector.AbstractManagedConnection >> $LocalTransactionImpl.rollback(AbstractManagedConnection.java:197) >> at >> org >> .apache >> .geronimo >> .connector.outbound.LocalXAResource.rollback(LocalXAResource.java:86) >> ... 20 more >> Caused by: java.sql.SQLException: rollback() should not be called >> while in auto-commit mode. >> at >> net >> .sourceforge >> .jtds.jdbc.ConnectionJDBC2.rollback(ConnectionJDBC2.java:2031) >> at >> org >> .tranql >> .connector >> .jdbc >> .ManagedJDBCConnection >> .localTransactionRollback(ManagedJDBCConnection.java:111) >> ... 22 more > > This seems to be the root exception right here. Looks like the > driver is complaining that rollback should not be used when the > driver is setup with auto-commit enabled. Not familiar with the > driver, but definitely auto-commit needs to be off for any > environment with a transaction manager. > > Hope this helps! > > -David >