[ 
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.

Reply via email to