[
http://issues.apache.org/jira/browse/GERONIMO-1971?page=comments#action_12377515
]
Erin Mulder commented on GERONIMO-1971:
---------------------------------------
Redeploy still fails even if you try to give it a configId. See below.
java -jar ~/dev/geronimo-1.1/jetty/bin/deployer.jar --verbose redeploy
simple_web_app default/simple_web_app/1146632716894/war
Error: Operation failed: null
java.lang.NullPointerException
at
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:47)
at
org.apache.geronimo.deployment.plugin.local.RedeployCommand.run(RedeployCommand.java:77)
at java.lang.Thread.run(Thread.java:534)
> Redeployment of webapp without geronimo plan fails
> --------------------------------------------------
>
> Key: GERONIMO-1971
> URL: http://issues.apache.org/jira/browse/GERONIMO-1971
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: deployment
> Versions: 1.0
> Reporter: Erin Mulder
> Priority: Blocker
> Fix For: 1.1
>
> I deployed an exploded web app (with no geronimo-web.xml) using the
> command-line deployer. A few minutes later, I tried to redeploy it and got
> an error. See below.
> [EMAIL PROTECTED]:~/dev/examples> java -jar
> ~/dev/geronimo-1.1/jetty/bin/deployer.jar deploy simple_web_app
> Deployed default/simple_web_app/1146631722307/war @
> http://wildfire:8080/simple_web_app
> [EMAIL PROTECTED]:~/dev/examples> java -jar
> ~/dev/geronimo-1.1/jetty/bin/deployer.jar redeploy simple_web_app
> No ModuleID or TargetModuleID provided. Attempting to guess based
> on the content of the archive.
> Unable to locate Geronimo deployment plan in archive. Calculating
> default ModuleID from archive name.
> Attempting to use ModuleID 'simple_web_app'
> Exception in thread "main" java.lang.IllegalArgumentException: Invalid id:
> simple_web_app
> at
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:49)
> at
> org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:168)
> at
> org.apache.geronimo.deployment.cli.AbstractCommand.identifyTargetModuleIDs(AbstractCommand.java:149)
> at
> org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:128)
> at
> org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
> at
> org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:312)
--
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