Installing and starting OSGi-enabled plug-ins
In this task, you install the dynamic plug-in bundle into the OSGi framework. Then, you start the plug-in.
Before you begin
- The eXtreme Scale server or client bundle is installed into the Eclipse Equinox OSGi framework. See Installing eXtreme Scale bundles.
- One or more dynamic BackingMap or ObjectGrid plug-ins are implemented. See Building eXtreme Scale dynamic plug-ins.
- The dynamic plug-ins are packaged as OSGi services in OSGi bundles.
- By default, the JVM continues to run when each eXtreme Scale server in an OSGi framework is stopped in the xscmd utility with the -c teardown command. If you want eXtreme Scale to exit the JVM after each server is stopped, then set the server property exitJVMOnTeardown to true. For more information, see Server properties file.
About this task
Install the bundle with the Eclipse Equinox console. There are several different methods to install the bundle, including a modification of the config.ini configuration file. Products that embed Eclipse Equinox include alternative methods for adding bundles in the config.ini file. For more information, seeEclipse runtime options.
OSGi allows bundles to be started that have duplicate services. WebSphere eXtreme Scale uses the latest service ranking. When multiple OSGi frameworks are started in an eXtreme Scale data grid, you must make sure that the correct service rankings are started on each server. Failure to do so causes the grid to be started with a mixture of different versions.
To see which versions are in-use by the data grid, use the xscmd utility to check the current and available rankings. For more information, see Updating OSGi services for eXtreme Scale plug-ins with xscmd.
Procedure
Install the plug-in bundle into the Eclipse Equinox OSGi framework with the OSGi console.
Install the plug-in bundle into the Eclipse Equinox OSGi framework with the config.ini file.