Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Disabling R-OSGi"

(New page: Sometimes, it's necessary or desirable to disable the automatic running of an R-OSGi instance and the attendant creation of a listener on R-OSGi's default port (9278). # When attempting t...)
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Sometimes, it's necessary or desirable to disable the automatic running of an R-OSGi instance and the attendant creation of a listener on R-OSGi's default port (9278).
 
Sometimes, it's necessary or desirable to disable the automatic running of an R-OSGi instance and the attendant creation of a listener on R-OSGi's default port (9278).
  
# When attempting to run other R-OSGi instance(s) on the localhost (e.g. running the [[Getting_Started_with_ECF%27s_RFC119_Implementation]]).
+
# When attempting to run other R-OSGi instance(s) on the localhost (e.g. running the [[Getting Started with ECF%27s RFC119 Implementation]]).
# When running JUnit plugin tests
+
# When running JUnit plugin tests on localhost that publish OSGi services using R-OSGi provider
# When concerned about security (e.g. server scenarios).
+
# When concerned about security of opening default port 9278 (e.g. server scenarios).
  
To disable R-OSGi in a given instance, provide the following on the command line when starting (Eclipse or some other app that has ECF installed):
+
To disable R-OSGi in a given instance, provide the following on when starting (Eclipse or some other Equinox app where ECF is installed):
  
-Dch.ethz.iks.r_osgi.registerDefaultChannel=false
+
'''-Dch.ethz.iks.r_osgi.registerDefaultChannel=false'''
  
For example, for disabling R-OSGi in a running Eclipse instance:
+
For example, to disable R-OSGi in Eclipse where ECF is installed:
  
eclipse.exe -vmargs -Dch.ethz.iks.r_osgi.registerDefaultChannel=false
+
'''eclipse.exe -vmargs -Dch.ethz.iks.r_osgi.registerDefaultChannel=false'''
 +
 
 +
See also [[R-OSGi Properties]]

Latest revision as of 20:56, 14 June 2009

Sometimes, it's necessary or desirable to disable the automatic running of an R-OSGi instance and the attendant creation of a listener on R-OSGi's default port (9278).

  1. When attempting to run other R-OSGi instance(s) on the localhost (e.g. running the Getting Started with ECF's RFC119 Implementation).
  2. When running JUnit plugin tests on localhost that publish OSGi services using R-OSGi provider
  3. When concerned about security of opening default port 9278 (e.g. server scenarios).

To disable R-OSGi in a given instance, provide the following on when starting (Eclipse or some other Equinox app where ECF is installed):

-Dch.ethz.iks.r_osgi.registerDefaultChannel=false

For example, to disable R-OSGi in Eclipse where ECF is installed:

eclipse.exe -vmargs -Dch.ethz.iks.r_osgi.registerDefaultChannel=false

See also R-OSGi Properties

Copyright © Eclipse Foundation, Inc. All Rights Reserved.