Return-Path: Delivered-To: apmail-ode-commits-archive@www.apache.org Received: (qmail 45770 invoked from network); 9 Oct 2007 16:45:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 16:45:20 -0000 Received: (qmail 57916 invoked by uid 500); 9 Oct 2007 16:28:34 -0000 Delivered-To: apmail-ode-commits-archive@ode.apache.org Received: (qmail 57900 invoked by uid 500); 9 Oct 2007 16:28:33 -0000 Mailing-List: contact commits-help@ode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ode.apache.org Delivered-To: mailing list commits@ode.apache.org Received: (qmail 57885 invoked by uid 99); 9 Oct 2007 16:28:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 09:28:33 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 16:28:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A02DD1A983A; Tue, 9 Oct 2007 09:28:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r583211 - /ode/branches/APACHE_ODE_1.1/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java Date: Tue, 09 Oct 2007 16:28:08 -0000 To: commits@ode.apache.org From: mriou@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071009162808.A02DD1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mriou Date: Tue Oct 9 09:28:07 2007 New Revision: 583211 URL: http://svn.apache.org/viewvc?rev=583211&view=rev Log: Tying up a little knot. Modified: ode/branches/APACHE_ODE_1.1/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java Modified: ode/branches/APACHE_ODE_1.1/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java?rev=583211&r1=583210&r2=583211&view=diff ============================================================================== --- ode/branches/APACHE_ODE_1.1/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java (original) +++ ode/branches/APACHE_ODE_1.1/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SimpleScheduler.java Tue Oct 9 09:28:07 2007 @@ -156,7 +156,13 @@ public Future execIsolatedTransaction(final Callable transaction) throws Exception, ContextException { return _exec.submit(new Callable() { public T call() throws Exception { - return execTransaction(transaction); + try { + return execTransaction(transaction); + } catch (Exception e) { + __log.error("An exception occured while executing an isolated transaction, " + + "the transaction is going to be abandoned.", e); + return null; + } } }); }