Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Swordfish Documentation: Launching Service Registry"
(→Launching Service Registry) |
|||
Line 1: | Line 1: | ||
+ | ==Prerequisites== | ||
+ | Eclipse Galileo M7 build or later. | ||
+ | The examples described here are based on Eclipse Galileo M7. | ||
+ | |||
+ | This "How To" assumes that user have downloaded and activated Swordfish Target platfrom with Swordfish Runtime (core) bundles and Swordfish Registry bundles. | ||
+ | Follow steps from: | ||
+ | *[[Swordfish_Documentation:_Running_Target_Platform|Running Target Platform]] - to set up Target platform from local machine | ||
+ | *[[Swordfish_Documentation:_Setting_Up_Registry_From_Galileo_Update_Sitey|Setting Up Registry From the Galileo Update Site]] - to set up target platform from Update Site. | ||
+ | |||
==Launching Service Registry== | ==Launching Service Registry== | ||
Service Registry JAR files are built together with the Swordfish Runtime JAR files. | Service Registry JAR files are built together with the Swordfish Runtime JAR files. |
Revision as of 04:59, 19 June 2009
Prerequisites
Eclipse Galileo M7 build or later. The examples described here are based on Eclipse Galileo M7.
This "How To" assumes that user have downloaded and activated Swordfish Target platfrom with Swordfish Runtime (core) bundles and Swordfish Registry bundles. Follow steps from:
- Running Target Platform - to set up Target platform from local machine
- Setting Up Registry From the Galileo Update Site - to set up target platform from Update Site.
Launching Service Registry
Service Registry JAR files are built together with the Swordfish Runtime JAR files.
To launch the Service Registry JAR files, specify the 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 of these environment variables, using -D parameters when you are launching equinox.
Here is an example script that shows you how to launch it:
#!/bin/bash cd ./target/bundles java -Dorg.osgi.service.http.port=8080 \ -Dorg.eclipse.swordfish.registry.fileLocation=/tmp/swordfish-sr \ org.eclipse.osgi_3.5.0.v20090311-1300.jar -console -clean
The option -console starts equinox in the console mode. In this mode you can type commands. When the option-clean is used, equinox will clean up the caches before starting up.