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:
Code Block cd [servicemix_install_dir]\tooling\servicemix-web maven war
Wiki Markup where {{servicemix_install_dir}} is the directory in which ServiceMix was downloaded and installed. The war file can be found in {{\[servicemix_install_dir\]\tooling\servicemix-web\target\servicemix-web.war}}.
- 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
You will see output similar to this:
The output in the Geronimo console window should show ServiceMix starting. Output will be similar to the following: . This WAR file was not developed for use on Geronimo, but for use on Tomcat stand-alone, therefore, it does not contain a geronimo-web.xml deployment plan. For using theCode Block Deployed servicemix-web @ http://Lisas:8080/servicemix-web
servicemix-web.war
file on Tomcat, please see Tomcat Integration.
If Geronimo is restarted the console log will show ServiceMix starting, as shown below. Note: Geronimo does not need to be restarted to deploy the WAR file.Code 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.
NOTE: The console output is also logged inCode Block Booting Geronimo Kernel (in Java 1.5.0_05)... Starting Geronimo Application Server [*****************] 100% 45s Startup complete Listening on Ports: 1099 0.0.0.0 RMI Naming 1527 0.0.0.0 Derby Connector 4201 0.0.0.0 ActiveIO Connector EJB 4242 0.0.0.0 Remote Login Listener 8019 0.0.0.0 Tomcat Connector AJP 8080 0.0.0.0 Jetty Connector HTTP 8090 0.0.0.0 Tomcat Connector HTTP 8443 0.0.0.0 Jetty Connector HTTPS 8453 0.0.0.0 Tomcat Connector HTTPS 61616 0.0.0.0 ActiveMQ Message Broker Connector Started Application Modules: EAR: org/apache/geronimo/Console/Jetty WAR: org/apache/geronimo/applications/Welcome/Jetty WAR: servicemix-web Web Applications: http://Lisas:8080/ http://Lisas:8080/console http://Lisas:8080/console-standard http://Lisas:8080/servicemix-web Geronimo Application Server started
geronimo_install_dir\var\log\deployer.log
.
...