[jira] Commented: (GERONIMO-5285) deploy, undeploy, deploy of blog sample fails

2010-05-04 Thread Joe Bohn (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12863959#action_12863959
 ] 

Joe Bohn commented on GERONIMO-5285:


Not sure if this will help but here is my experience.
- I was able to uninstall (at least once) and then reinstall and I didn't hit 
this error.  I think I was using a build from yesterday afternoon (but perhaps 
not - see below).  I performed the uninstall from the web console rather than 
the command line - if that makes a difference.  But I reinstalled from the 
command line.
- After seeing this JIRA I updated my code and rebuilt.   Now I am getting the 
same error on install and it doesn't seem to matter how the uninstall if 
performed (command line or web console). 
- It is possible that I didn't refresh my running image with the new build 
yesterday as I had intended.   If that is the case, then it would mean that the 
error might have been introduced in the past few days as I'm fairly sure I 
updated my running image on Thursday or Friday of last week.

Joe


 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.



[jira] Commented: (GERONIMO-5285) deploy, undeploy, deploy of blog sample fails

2010-05-04 Thread Ivan (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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.