[ http://issues.apache.org/jira/browse/GERONIMO-1905?page=comments#action_12411901 ]
Chris Cardona commented on GERONIMO-1905: ----------------------------------------- I experienced the same problem as Aaron's. Here is my geronimo-web.xml and the results of my test: -------------------------- geronimo-web.xml: -------------------------- <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1" xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"> <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> <dep:dependencies> <dep:dependency> <dep:groupId>commons-modeler</dep:groupId> <dep:artifactId>commons-modeler</dep:artifactId> <dep:version>1.2-GERONIMO-SNAPSHOT</dep:version> <dep:type>jar</dep:type> </dep:dependency> </dep:dependencies> </dep:environment> <context-root>testwebapp1</context-root> </web-app> * With G Plan * With Environment * W/O moduleId ------------------- 1. Deploy: OK ------------------- C:\G1.1\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SNAPSHOT\bin\ test\WebApp>java -jar ../../deployer.jar --user system --pas sword manager deploy webapp.war geronimo-web.xml Deployed default/testwebapp1/1147761067251/war @ http://CCARDONA:8080/testwebapp1 ----------------------------------------------------------- 2. Redeploy no plan, no module ID: Not OK ----------------------------------------------------------- C:\G1.1\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SNAPSHOT\bin\ test\WebApp>java -jar ../../deployer.jar --user system --pas sword manager redeploy webapp.war 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 'default/webappwplan//' Error: default/webappwplan// does not appear to be a the name of a module available on the selected server. Perhaps it has already been stopped or undeployed? If you're trying to specify a TargetModuleID, use the syntax TargetName|ModuleName instead. If you're not sure what's running, try the list-modules command. ------------------------------------------------------------- 2. Redeploy no plan, with module ID: Not OK ------------------------------------------------------------- * Note: Resulted to webapp being deployed but not started C:\G1.1\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SNAPSHOT\bin\ test\WebApp>java -jar ../../deployer.jar --user system --pas sword manager redeploy webapp.war default/testwebapp1/1147761067251/war Redeployed default/WebApp_ID1/1147761311042/war Error: Operation failed: reload of default/testwebapp1/1147761067251/war failed default/testwebapp1/1147761311042/war --------------------------------------------------------------- 2. Redeploy with plan, with module ID: Not OK --------------------------------------------------------------- C:\G1.1\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SNAPSHOT\bin\ test\WebApp>java -jar ../../deployer.jar --user system --pas sword manager redeploy webapp.war geronimo-web.xml default/testwebapp1/1 147761067251/war Error: Operation failed: artifactId is null ---------------------- 3. Undeploy: OK ---------------------- C:\G1.1\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SNAPSHOT\bin\ test\WebApp>java -jar ../../deployer.jar --user system --pas sword manager undeploy default/testwebapp1/1147761067251/war Module default/testwebapp1/1147761067251/war unloaded. Module default/testwebapp1/1147761067251/war uninstalled. Undeployed default/testwebapp1/1147761067251/war > Confirm deploy/undeploy/redeploy for WARs with no configId > ---------------------------------------------------------- > > Key: GERONIMO-1905 > URL: http://issues.apache.org/jira/browse/GERONIMO-1905 > Project: Geronimo > Type: Test > Security: public(Regular issues) > Components: deployment > Versions: 1.1 > Reporter: Aaron Mulder > Assignee: Aaron Mulder > Priority: Blocker > Fix For: 1.1 > > Make sure it all works for WAR with no geronimo-web.xml and also WAR with > geronimo-web.xml with environment with no configId. Reports seem to indicate > that it doesn't work right now. -- 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