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

Gemini/Management/GettingStarted

< Gemini‎ | Management
Revision as of 05:14, 24 September 2013 by Fwaibel.datenkollektiv.de (Talk | contribs) (Getting Started)

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

Getting Started

  1. Download Equinox (org.eclipse.osgi) and org.eclipse.osgi.services jars. Both are available in the Equinox SDK on | Equinox Downloads.
  2. Download osgi.enterprise jar from | Orbit Downloads.
  3. Download Gemini Management (org.eclipse.gemini.management) | Gemini Management Downloads.
  4. Place the four bundles in a folder, e.g. test-gemini-management.
  5. Create a subfolder configuration with a config.ini file in it to configure Equinox. In config.ini define the property osgi.bundles:
osgi.bundles=./org.eclipse.osgi.services_<version>.jar@start,\
  ./osgi.enterprise_<version>.jar@start,\
  ./org.eclipse.gemini.management-2.0.0.RELEASE.jar@start

Start Equinox with

java -jar org.eclipse.osgi.<version>.jar -console

Note: With Equinox 3.8 you have to pass a property -Dosgi.console.enable.builtin=true or add the Gogo shell bundles to your installation and config.ini to access the OSGi console.

What's next?

  1. Create a test bundle, from which to invoke the MBeans of Gemini Management. Your test bundle should registers the platform MBeanServer as an OSGi service - Gemini Management needs such service to be registered in order to work.
  2. Install and start your test bundle.

Using Gemini Management in Eclipse

Back to the top