Versions Compared

Key

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

...

This document is under development and will be completed when the underlying code is ready. In the meantime, the ServiceMix on Geronimo deployment shown here is of the servicemix-web.war file. The Tomcat web application server is integrated with Geronimo as part of the Geronimo distribution. Therefore, when the servicemix-web.war file is deployed on Geronimo, it is being handed off to Tomcat by Geronimo. Additionally, the war file uses lightweight components, which are those components defined in a servicemix.xml file. Ultimately, the ServiceMix deployment on Geronimo will use heavyweight components. Heavyweight components accept service unit deployments, such as PXE. If you are interested in this topic and how it progresses, please "watch" this page for future changes.

The organization of this document is:

Geronimo Integration

The following guide explains how to deploy ServiceMix 2.0.x on the Geronimo application server.

...

  1. Use Geronimo's "list-modules" option on deployer.jar to see the servicemix-web application:
    Code Block
    cd [geronimo_install_dir]
    java -jar bin/deployer.jar --user system --password manager list-modules
    
    Output will be similar to:
    Code Block
    Found 33 modules
      + org/apache/geronimo/Tomcat
      + org/apache/geronimo/Jetty
      + org/apache/geronimo/RMINaming
      + org/apache/geronimo/ActiveMQServer
      + org/apache/geronimo/TomcatRuntimeDeployer
      + org/apache/geronimo/Server
      + org/apache/geronimo/Security
      + servicemix-web @ http://Lisas:8080/servicemix-web
      + org/apache/geronimo/SystemDatabase
      + org/apache/geronimo/applications/Welcome/Jetty @ http://Lisas:8080/
      + org/apache/geronimo/SystemJMS
    ...
    


  2. ServiceMix's default port is 1099. From another window run netstat and search for port 1099.
    From a Windows console, type:
    Code Block
           
    netstat -an|find "1099"
    

    OR

    From a Unix command shell, type:
    Code Block
    netstat -an|grep 1099
    

  3. Run the ServiceMix JMX Console. To do this, enter the following URL in a web browser: http://localhost:8080/servicemix-web. Try using the JMX console. For example, perform the following steps. Note: this is optional.
    1. Click on "geronimo".
    2. Click on "Unknown".
    3. Click on the "JMXServlet WebModule" to get monitoring information about the JMX Servlet itself:



  4. An http binding example is supplied. To run the example program perform the following steps:
    1. From a browser, enter the URL http://localhost:8080/servicemix-web/examples.



    2. Enter a name or some text in the text box (shown above) and click the Submit button. You will see:


...



Undeploying ServiceMix on Geronimo

Execute the following steps to undeploy ServiceMix on Geronimo.

...