How To
ForgeRock Identity Platform
Does not apply to Identity Cloud

How do I load OSGI bundles and JAR files into IDM (All versions)?

Last updated Jan 12, 2023

The purpose of this article is to provide information on loading Open Service Gateway Initiative (OSGI) bundles and JAR files into IDM from separate locations.

Loading OSGI bundles and JAR files

You can load OSGI bundles and JAR files from separate locations using the launcher.json​ configuration script (located in the /path/to/idm/bin directory by default). The default locations defined within this file are relative to the OPENIDM_HOME directory unless an absolute path is specified. If required, you can locate the launcher.json file in a different location providing you start IDM with the -c option and specify the path. See Specify the Startup Configuration for further information about the launcher.json file.

To load OSGI bundles and JAR files:

  1. Add location, includes and excludes properties to launcher.json to specify the absolute path to where the files are located and to define the jars you want to include or exclude from loading. For example: { "location":"/path/to/separate/location", "includes":["*.jar"] }
  2. Restart the IDM instance to apply these changes.

See Also

How do I invoke a jar file from a Groovy script in IDM (All versions)?

How do I load JavaScript functions into IDM (All versions)?

Specify the Startup Configuration

Related Training


Related Issue Tracker IDs


Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.