Versions Compared

Key

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

...

  1. Wiki Markup
    cd \[servicemix_install_dir\]\assembly\target\servicemix-2.0.2\bin\servicemix-2.0.2\examples\quartz-binding
  2. create a directory elsewhere, such as \temp\JBIcomponent
  3. copy servicemix.xml to \temp\JBIcomponent
  4. cd \temp\JBIcomponent
  5. edit servicemix.xml
    • need to change a few things to make this a service unit, please see the code here:
      Code Block

  6. Two jar files must be created. These jar files will be copied into the ServiceMix deploy directory.
    The first jar file will contain the service component jbi.xml file. The file should contain:
    Code Block
    1. Put jbi.xml in an empty META-INF directory and put that into a jar file:
      Code Block
      jar cvf service-component.jar *
      
    2. Then create a zip file of the servicemix.xml file you modified above. The zip file should contain the servicemix.xml file and it should be called su1.zip to match the name it is called in the jbi.xml file.
    3. Create the second jar file--this is the service assembly jar file. It will contain another jbi.xml file that is used for the service assembly and it will also contain the zip file, su1.zip in this structure:
      Code Block
      META-INF/jbi.xml
      su1.zip
      
      The service assembly jbi.xml should be similar to the following:
      Code Block
      Copy the jbi.xml file to the META-INF directory, then create the jar file:
      Code Block
      jar cvf sa_quartz.jar *
      
  7. Wiki Markup
    Finally, to *deploy*, copy sa_quartz.jar and service-component.jar to the {{deploy}} directory of ServiceMix. The deploy directory is located in {{\[servicemix_install_dir\]\deploy}}, where {{\[servicemix_install_dir\]}} is the location in which ServiceMix was installed.

...

  1. If ServiceMix is already running, look at the console window output to see the deployment. If ServiceMix has not been started, start it and monitor the console window output.

Deploying JBI Components on Geronimo Using the Geronimo Deployment Tool

...