Offline deployment broken in geronimo-tomcat-j2ee-1.2-SNAPSHOT
---------------------------------------------------------------
Key: GERONIMO-2765
URL: https://issues.apache.org/jira/browse/GERONIMO-2765
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: deployment
Affects Versions: 1.1.2
Environment: All
Reporter: Leonard Flournoy
Fix For: 1.1.2
Steps to reproduce offline deployment failure with geronimo-tomcat-j2ee
configuration of Geronimo 1.2.
1. Display OS & Java version information:
$ cat /proc/version
Linux version 2.6.9-42.0.3.ELsmp
([EMAIL PROTECTED]) (gcc version 3.4.6 20060404
(Red Hat 3.4.6-3)) #1 SMP Mon Sep 25 17:28:02 EDT 2006
$ java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode)
2. Check out geronimo v1.2 & display version information:
$ svn checkout
https://svn.apache.org/repos/asf/geronimo/server/branches/1.2
geronimo-1.2
$ svn info
Path: .
URL: https://svn.apache.org/repos/asf/geronimo/server/branches/1.2
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 498232
...
3. Build:
$ cd geronimo-1.2
$ mvn clean install
4. Extract geronimo-tomcat-j2ee-1.2-SNAPSHOT-bin.tar.gz:
$ cd ~
$ tar -xzf
geronimo-1.2/assemblies/geronimo-tomcat-j2ee/target/geronimo-tomcat-j2ee
-1.2-SNAPSHOT-bin.tar.gz
5. Start geronimo (to confirm a working installation):
$ cd geronimo-tomcat-j2ee-1.2-SNAPSHOT
$ bin/geronimo.sh start
6. Perform online deployment/undeployment:
$ bin/deploy.sh deploy
~/wasce_samples/applications/hello/target/hello-1.1.1.war
~/wasce_samples/applications/hello/target/hello-1.1.1-web.xml
$ bin/deploy.sh undeploy wasce-samples/hello//war
7. Stop Geronimo:
$ bin/geronimo.sh stop
8. Attempt an offline deployment (war file and deployment plan
attached):
$ bin/deploy.sh --offline deploy
~/wasce_samples/applications/hello/target/hello-1.1.1.war
~/wasce_samples/applications/hello/target/hello-1.1.1-web.xml
Using GERONIMO_BASE: /home/eric/geronimo-tomcat-j2ee-1.2-SNAPSHOT
Using GERONIMO_HOME: /home/eric/geronimo-tomcat-j2ee-1.2-SNAPSHOT
Using GERONIMO_TMPDIR:
/home/eric/geronimo-tomcat-j2ee-1.2-SNAPSHOT/var/temp
Using JRE_HOME: /usr/java/jdk1.5.0_09/jre
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/geronimo/deployment/ModuleConfigurer
at
org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnect
ion.java:207)
at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:15
7)
at
org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:314)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira