You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Paul McMahan (JIRA)" <de...@geronimo.apache.org> on 2006/05/10 17:21:04 UTC

[jira] Created: (GERONIMO-2005) redeploying console EAR fails

redeploying console EAR fails
-----------------------------

         Key: GERONIMO-2005
         URL: http://issues.apache.org/jira/browse/GERONIMO-2005
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: deployment  
    Versions: 1.1    
 Environment: revision 405752 (tomcat version) running on linux
    Reporter: Paul McMahan
    Priority: Critical


The following redeploy command no longer works:

[pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager redeploy ~/src/geronimo/1.1/applications/console-ear/target/geronimo-console-1.1-SNAPSHOT.ear ~/src/geronimo/1.1/configs/console-tomcat/target/plan/plan.xml
Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
    No ModuleID or TargetModuleID provided.  Attempting to guess based
    on the content of the plan.
    Attempting to use ModuleID '///'
Exception in thread "main" java.lang.NullPointerException: artifactId is null
        at org.apache.geronimo.kernel.repository.Artifact.<init>(Artifact.java:39)
        at org.apache.geronimo.kernel.repository.Artifact.<init>(Artifact.java:35)
        at org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:56)
        at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:176)
        at org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:130)
        at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
        at org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:312)


Undeploying and then deploying using the same EAR and plan works (see below), so I assume the problem is somewhere in the redeploy logic.

[pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager undeploy geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
    Module geronimo/webconsole-tomcat/1.1-SNAPSHOT/car unloaded.
    Module geronimo/webconsole-tomcat/1.1-SNAPSHOT/car uninstalled.

    Undeployed geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
      `-> standard.war
      `-> framework.war

[pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager deploy ~/src/geronimo/1.1/applications/console-ear/target/geronimo-console-1.1-SNAPSHOT.ear ~/src/geronimo/1.1/configs/console-tomcat/target/plan/plan.xml
Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
    Deployed geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
      `-> standard.war @
    http://frylock.raleigh.ibm.com:8080/console-standard
      `-> framework.war @ http://frylock.raleigh.ibm.com:8080/console
[pmcmahan@frylock bin]$

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-2005) redeploying console EAR fails

Posted by "Paul McMahan (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2005?page=all ]
     
Paul McMahan closed GERONIMO-2005:
----------------------------------


> redeploying console EAR fails
> -----------------------------
>
>          Key: GERONIMO-2005
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2005
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.1
>  Environment: revision 405752 (tomcat version) running on linux
>     Reporter: Paul McMahan
>     Priority: Critical

>
> The following redeploy command no longer works:
> [pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager redeploy ~/src/geronimo/1.1/applications/console-ear/target/geronimo-console-1.1-SNAPSHOT.ear ~/src/geronimo/1.1/configs/console-tomcat/target/plan/plan.xml
> Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
> Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
>     No ModuleID or TargetModuleID provided.  Attempting to guess based
>     on the content of the plan.
>     Attempting to use ModuleID '///'
> Exception in thread "main" java.lang.NullPointerException: artifactId is null
>         at org.apache.geronimo.kernel.repository.Artifact.<init>(Artifact.java:39)
>         at org.apache.geronimo.kernel.repository.Artifact.<init>(Artifact.java:35)
>         at org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:56)
>         at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:176)
>         at org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:130)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
>         at org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:312)
> Undeploying and then deploying using the same EAR and plan works (see below), so I assume the problem is somewhere in the redeploy logic.
> [pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager undeploy geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
> Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
> Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
>     Module geronimo/webconsole-tomcat/1.1-SNAPSHOT/car unloaded.
>     Module geronimo/webconsole-tomcat/1.1-SNAPSHOT/car uninstalled.
>     Undeployed geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
>       `-> standard.war
>       `-> framework.war
> [pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager deploy ~/src/geronimo/1.1/applications/console-ear/target/geronimo-console-1.1-SNAPSHOT.ear ~/src/geronimo/1.1/configs/console-tomcat/target/plan/plan.xml
> Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
> Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
>     Deployed geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
>       `-> standard.war @
>     http://frylock.raleigh.ibm.com:8080/console-standard
>       `-> framework.war @ http://frylock.raleigh.ibm.com:8080/console
> [pmcmahan@frylock bin]$

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-2005) redeploying console EAR fails

Posted by "Paul McMahan (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2005?page=all ]
     
Paul McMahan resolved GERONIMO-2005:
------------------------------------

    Resolution: Fixed

ConfigIdExtractor was still looking for 'configId' when scanning a plan.   Fixed by svn commit: r405784.

> redeploying console EAR fails
> -----------------------------
>
>          Key: GERONIMO-2005
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2005
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.1
>  Environment: revision 405752 (tomcat version) running on linux
>     Reporter: Paul McMahan
>     Priority: Critical

>
> The following redeploy command no longer works:
> [pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager redeploy ~/src/geronimo/1.1/applications/console-ear/target/geronimo-console-1.1-SNAPSHOT.ear ~/src/geronimo/1.1/configs/console-tomcat/target/plan/plan.xml
> Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
> Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
>     No ModuleID or TargetModuleID provided.  Attempting to guess based
>     on the content of the plan.
>     Attempting to use ModuleID '///'
> Exception in thread "main" java.lang.NullPointerException: artifactId is null
>         at org.apache.geronimo.kernel.repository.Artifact.<init>(Artifact.java:39)
>         at org.apache.geronimo.kernel.repository.Artifact.<init>(Artifact.java:35)
>         at org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:56)
>         at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:176)
>         at org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:130)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
>         at org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:312)
> Undeploying and then deploying using the same EAR and plan works (see below), so I assume the problem is somewhere in the redeploy logic.
> [pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager undeploy geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
> Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
> Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
>     Module geronimo/webconsole-tomcat/1.1-SNAPSHOT/car unloaded.
>     Module geronimo/webconsole-tomcat/1.1-SNAPSHOT/car uninstalled.
>     Undeployed geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
>       `-> standard.war
>       `-> framework.war
> [pmcmahan@frylock bin]$ ./deploy.sh --user system --password manager deploy ~/src/geronimo/1.1/applications/console-ear/target/geronimo-console-1.1-SNAPSHOT.ear ~/src/geronimo/1.1/configs/console-tomcat/target/plan/plan.xml
> Using GERONIMO_BASE:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_HOME:   /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT
> Using GERONIMO_TMPDIR: /home/pmcmahan/src/geronimo/1.1/assemblies/j2ee-tomcat-server/target/geronimo-1.1-SNAPSHOT/var/temp
> Using JRE_HOME:        /usr/java/j2sdk1.4.2_10
>     Deployed geronimo/webconsole-tomcat/1.1-SNAPSHOT/car
>       `-> standard.war @
>     http://frylock.raleigh.ibm.com:8080/console-standard
>       `-> framework.war @ http://frylock.raleigh.ibm.com:8080/console
> [pmcmahan@frylock bin]$

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira