How To

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

Last updated Apr 25, 2019

The purpose of this article is to provide information on loading Open Service Gateway Initiative (OSGI) bundles and JAR files into IDM/OpenIDM 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/OpenIDM with the -c option and specify the path. See Integrator's Guide › Advanced 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/OpenIDM instance to apply these changes.

See Also

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

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

Integrator's Guide › Specifying the Startup Configuration

Related Training

N/A

Related Issue Tracker IDs

N/A



Copyright and TrademarksCopyright © 2019 ForgeRock, all rights reserved.
Loading...