Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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"
Line 1: | Line 1: | ||
− | Service Registry JAR files are | + | Service Registry JAR files are built together with the Swordfish Runtime JAR files. |
+ | |||
+ | To launch them you need to specify the following environment variables: | ||
<li>'''org.osgi.service.http.port''' - port for HTTP interface to SR | <li>'''org.osgi.service.http.port''' - port for HTTP interface to SR | ||
Line 5: | Line 7: | ||
− | You can specify value | + | 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: |
<pre> | <pre> | ||
Line 15: | Line 17: | ||
</pre> | </pre> | ||
− | + | The option '''-console''' means that equinox will be started in the console mode. In this mode you can type commands. | |
+ | '''-clean''' means that equinox will cleanup the caches before startup. | ||
Revision as of 04:31, 15 May 2009
Service Registry JAR files are built together with the Swordfish Runtime JAR files.
To launch them you need to specify the following environment variables:
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 means that equinox will be started in the console mode. In this mode you can type commands. -clean means that equinox will cleanup the caches before startup.
Swordfish Wiki Home