Return-Path: X-Original-To: apmail-openejb-commits-archive@www.apache.org Delivered-To: apmail-openejb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73A9B24A6 for ; Mon, 25 Apr 2011 11:24:44 +0000 (UTC) Received: (qmail 83414 invoked by uid 500); 25 Apr 2011 11:24:44 -0000 Delivered-To: apmail-openejb-commits-archive@openejb.apache.org Received: (qmail 83391 invoked by uid 500); 25 Apr 2011 11:24:44 -0000 Mailing-List: contact commits-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openejb.apache.org Delivered-To: mailing list commits@openejb.apache.org Received: (qmail 83384 invoked by uid 99); 25 Apr 2011 11:24:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 11:24:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 11:24:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C7DBAB2EA9 for ; Mon, 25 Apr 2011 11:24:05 +0000 (UTC) Date: Mon, 25 Apr 2011 11:24:05 +0000 (UTC) From: "Vamsavardhana Reddy (JIRA)" To: commits@openejb.apache.org Message-ID: <1052601623.79678.1303730645815.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OPENEJB-1091) Cause of RollbackException swallowed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENEJB-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024775#comment-13024775 ] Vamsavardhana Reddy commented on OPENEJB-1091: ---------------------------------------------- David, I think you are referring to org.apache.openejb.client.EJBInvocationHandler.convertException() and org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException() methods. As per the patch, if we change the exceptions to LocalExceptions in TransactionPolicy class, then these convertException methods should be converting those to remote exceptions in case of remote invocation. > Cause of RollbackException swallowed > ------------------------------------ > > Key: OPENEJB-1091 > URL: https://issues.apache.org/jira/browse/OPENEJB-1091 > Project: OpenEJB > Issue Type: Bug > Components: server > Affects Versions: 3.0-beta-2 > Reporter: Geoff Callender > Assignee: Jean-Louis MONTEIRO > Fix For: 3.0 > > Attachments: open-ejb_1091.patch > > > This is linked to OPENEJB-782 where the problem was first noted. The flaw described there still exists in 3.1, ie. the client still has no way of determining the reason a rollback occurred. > When the client digs into the exception cause, all it finds is javax.transaction.RollbackException. The originating javax.persistence.PersistenceException or java.sql.SQLException is missing. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira