Previous Topic

Next Topic

Book Contents

Book Index

Startup bundles list location

The file containing the startup bundles list might be in or outside the framework JAR.

When started the framework locates the startup bundles list file(s) by using the value of the mbs.boot.bootfile system property. In case several startup bundles list files should be used, their paths should be separated with semicolons. Relative paths should be related to the directory where the framework is started which is bin/vms/<vm_name>. The default startup bundles list file is boot.ini placed in the bin/vms directory. This file contains the most important bundles that one may need in the OSGi runtime.

In case you want to have your own bundles loaded on initial framework startup by including them in a startup bundles list file, apply one of the following approaches:

For more information on setting system properties by means of OS environment variables, refer to Changing settings.

Do not use a property file, such as common.prs or default.prs, to define a custom startup bundles list file as it will be overridden by the value of the FWBOOTFILE environment variable.