You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

Geronimo is the J2EE server project of the Apache Software Foundation. ServiceMix is being tightly integrated with Geronimo so that it takes advantage of it's deployment architecture and to leverage geronimo to implement J2EE JBI bindings.

Status

  • A basic ServiceMix deployer has been integrated with Geronimo. You can now deployer JBI deployment units to a running Geronimo server using the geronimo deployment tool.

TODOs

  • Servicemix geronimo deployer should be ehanced to take advantage of Geronimo's classloader architecture
  • Build and integrate JBI binding compoents with geronimo. (At least integrate a HTTP, WS, and JMS binding components)

Deploying JBI Components

The JBI spec describes in detail how to create a valid JBI deployment unit. In essence, it is a jar file with a META-INF/jbi.xml with other resource jars inside it. Please see Deployment Units for more information.

  1. Make sure that your geronimo server is running.
  2. Run the geronimo deploy tool against your deployment unit (in this case jbcomponent.jar):
    java -jar geronimo-1.0-SNAPSHOT/bin/deployer.jar --user system --password manager deploy jbcomponent.jar 
    

That should deploy the component to geronimo. To check, just take a look at the geronimo logs for a message similar to:

11:44:24,865 INFO  [Configuration] Started configuration example-engine-1
11:44:24,869 INFO  [ServiceMixDeployment] Starting: /Users/chirino/sandbox/geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT/config-store/20/META-INF/jbi.xml
...
11:44:25,783 INFO  [DefaultListableBeanFactory] Creating shared instance of singleton bean 'jbi'
  • No labels