From dev-return-82208-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Wed May 05 03:34:46 2010 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 4570 invoked from network); 5 May 2010 03:34:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 03:34:44 -0000 Received: (qmail 67652 invoked by uid 500); 5 May 2010 03:34:44 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 67502 invoked by uid 500); 5 May 2010 03:34:43 -0000 Mailing-List: contact dev-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 dev@geronimo.apache.org Received: (qmail 67485 invoked by uid 99); 5 May 2010 03:34:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 03:34:43 +0000 X-ASF-Spam-Status: No, hits=-1389.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 03:34:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o453YLlQ020179 for ; Wed, 5 May 2010 03:34:21 GMT Message-ID: <6821289.10501273030461633.JavaMail.jira@thor> Date: Tue, 4 May 2010 23:34:21 -0400 (EDT) From: "Ivan (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-5285) deploy, undeploy, deploy of blog sample fails In-Reply-To: <19881143.38571272987778085.JavaMail.jira@thor> 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/GERONIMO-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864130#action_12864130 ] Ivan commented on GERONIMO-5285: -------------------------------- I had a close look at it, IIUC, seems that current eba lifecycle is not like those common Java EE applications. With deploy undeploy command, it could not undeploy the eba application totally, as the InstallerGBean.uninstall is never called, and AriesApplicationContext is not removed from the manager ... But, I found there is a eba:uninstall shell command, with it, I could uninstall the aries application correctly (although an exception is thrown in the uninstall process). I think that we might also make the deploy:undeploy command applicable to eba type applications. > deploy, undeploy, deploy of blog sample fails > --------------------------------------------- > > Key: GERONIMO-5285 > URL: https://issues.apache.org/jira/browse/GERONIMO-5285 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Affects Versions: 3.0 > Reporter: Kevan Miller > Fix For: 3.0 > > > After undeploy of blog sample: > ./deploy undeploy ../../samples/org.apache.aries.samples.blog.jpa.eba-0.1-incubating.eba > A subsequent deploy fails: > $ ./deploy deploy ../../samples/org.apache.aries.samples.blog.jpa.eba-0.1-incubating.eba > Using GERONIMO_HOME: /Users/kevan/Demo/geronimo-tomcat7-javaee6-3.0-SNAPSHOT > Using GERONIMO_TMPDIR: var/temp > Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home > 2010-05-04 11:31:34,077 ERROR [DeployTool] Error: > org.apache.geronimo.common.DeploymentException: Unable to deploy org.apache.aries.samples.blog.jpa.eba-0.1-incubating.eba: java.io.IOException: Sum file already exists > Sum file already exists > at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) > at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) > at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124) > at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:173) > at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64) > at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.