Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.
  2. Download the ServiceMix source code. Please see the Getting Started guide for instructions.
  3. Create the WAR file:
    Code Block
    cd [servicemix_install_dir]\tooling\servicemix-web
    maven war
    
    where servicemix_install_dir is the directory in which ServiceMix was downloaded and installed.
  4. To deploy the ServiceMix WAR file on Geronimo, use the Geronimo deployer.jar tool found in the bin 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:
    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 in tomcatgeronimo_homeinstall_dir\var\logs\catalina.xxxx-xx-xxlog\deployer.log.

Testing the ServiceMix Deployment on Tomcat

...