Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 56525 invoked from network); 25 Jan 2008 00:28:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 00:28:00 -0000 Received: (qmail 29175 invoked by uid 500); 25 Jan 2008 00:27:50 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 29134 invoked by uid 500); 25 Jan 2008 00:27:50 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 29121 invoked by uid 99); 25 Jan 2008 00:27:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 16:27:50 -0800 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; Fri, 25 Jan 2008 00:27:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F423F1A9832; Thu, 24 Jan 2008 16:27:38 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r615085 - in /geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local: CommandSupport.java DistributeCommand.java Date: Fri, 25 Jan 2008 00:27:38 -0000 To: scm@geronimo.apache.org From: gawor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080125002738.F423F1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gawor Date: Thu Jan 24 16:27:32 2008 New Revision: 615085 URL: http://svn.apache.org/viewvc?rev=615085&view=rev Log: make sure to fail on any exception or error (GERONIMO-3767) Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java?rev=615085&r1=615084&r2=615085&view=diff ============================================================================== --- geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java (original) +++ geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/CommandSupport.java Thu Jan 24 16:27:32 2008 @@ -130,7 +130,7 @@ sendEvent(message, state); } - public void doFail(Exception e) { + public void doFail(Throwable e) { if (e instanceof InternalKernelException) { Exception test = (Exception)e.getCause(); if(test != null) { Modified: geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java?rev=615085&r1=615084&r2=615085&view=diff ============================================================================== --- geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java (original) +++ geronimo/server/trunk/framework/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/local/DistributeCommand.java Thu Jan 24 16:27:32 2008 @@ -60,7 +60,7 @@ for(int i = 0; i < targetList.length; i++) { doDeploy(targetList[i], true); } - } catch (Exception e) { + } catch (Throwable e) { doFail(e); } finally { if (spool) {