Skip to main content
Jump to: navigation, search

Swordfish Documentation: Launching Service Registry

Revision as of 06:50, 14 May 2009 by Renat.zubairov.sopera.de (Talk | contribs) (New page: Service Registry JAR files are build together with Swordfish Runtime JAR files. To launch them you need to specify following environment variables: <li>'''org.osgi.service.http.port''' - ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Service Registry JAR files are build together with Swordfish Runtime JAR files. To launch them you need to specify following environment variables:

  • org.osgi.service.http.port - port for HTTP interface to SR
  • org.eclipse.swordfish.registry.fileLocation - a path to the directory where SR will store WSDL files
  • You can specify value for these environment variables using -D parameters when you are launching equinox. Below you will find an example script to launch it:

    #!/bin/bash
    cd ./target/bundles
    java java -Dorg.osgi.service.http.port=8080 -Dorg.eclipse.swordfish.registry.fileLocation=/Users/zbeothy/Dev-SOPERA/Eclipse-Dev/Svn-Swordfish/wsdl -jar org.eclipse.osgi_3.5.0.v20090311-1300.jar -console -clean
    

    Option -console means that equinox will be started in console mode where you can type commands and -clean means that equinox will cleanup the caches before startup.

    Back to the top