You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kevan Miller (JIRA)" <ji...@apache.org> on 2010/05/04 17:42:58 UTC

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

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

Posted by "Joe Bohn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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] Updated: (GERONIMO-5285) deploy, undeploy, deploy of blog sample fails

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire updated GERONIMO-5285:
-----------------------------------

    Fix Version/s: 3.0-M1
                       (was: 3.0)

> 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
>            Assignee: Jarek Gawor
>             Fix For: 3.0-M1
>
>
> 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

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-5285.
-----------------------------------

      Assignee: Jarek Gawor
    Resolution: Fixed

In revision 941144 I updated the aries application code to work better with the standard deploy/undeploy/start/stop operations. 


> 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
>            Assignee: Jarek Gawor
>             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.