THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Geronimo must be downloaded and installed. For instructions please see the Geronimo web site. In the Geronimo release of geronimo-1.0-M5 or greater, Tomcat is integrated with Geronimo. By default, Tomcat uses port 8080. This information will be used later.
- Download the ServiceMix source code. Please see the Getting Started guide for instructions.
- Create the WAR file:
whereCode Block cd [servicemix_install_dir]\tooling\servicemix-web maven war
servicemix_install_dir
is the directory in which ServiceMix was downloaded and installed. - To deploy the ServiceMix WAR file on Geronimo, use the Geronimo
deployer.jar
tool found in thebin
directory of the Geronimo base directory.
From a command shell:Code Block cd [geronimo_install_dir] java -jar bin/deployer.jar --user system --password manager deploy [servicemix-2.0.x_install_dir]\tooling\servicemix-web\target\servicemix-web.war
The output in the Geronimo console window should show ServiceMix starting. Output will be similar to the following:
NOTE: The console output is also logged inCode Block ... Geronimo Application Server started 13:13:17,062 WARN [JettyModuleBuilder] Web application does not contain a WEB-INF/geronimo-web.xml deployment plan. This may or may not a problem, depending on whether you have things like resource references that need to be resolved. You can also give the deployer a sep te deployment plan file on the command line.
tomcatgeronimo_homeinstall_dir\var\logs\catalina.xxxx-xx-xxlog\deployer.log
.
Testing the ServiceMix Deployment on Tomcat
...