OSGi Infrastructure Configuration
The GlassFish application server versions 3.x and later uses OSGi architecture. By default, OSGi containers follow a specific model for bootstrap class delegation. Classes that are not specified in the container's CLASSPATH are not delegated to the bootstrap classloader; therefore you must configure the OSGi containers for the Java Agentclasses.
See GlassFish Startup Settings and GlassFish OSGi Configuration per Domain.
To ensure that the OSGi container identifies the Java Agent, specify this package prefix:
org.osgi.framework.bootdelegation=com.singularity.*
This prefix follows the regular boot delegation model so that the Java Agent classes are visible.
If you already have existing boot delegations, add "com.singularity.*" to the existing path separated by a comma. For example:
org.osgi.framework.bootdelegation=com.sun.btrace., com.singularity
Configure Eclipse Equinox
| Option | Description |
|---|---|
| If running Eclipse Equinox under Glassfish |
|
| If running Eclipse Equinox under the WebSphere Application Server Liberty profile |
|
Configure Apache Sling
Configure JIRA or Confluence
For JIRA >= 5.1.8, and Confluence >= 5.3:
Configure Other OSGi-based Containers
For other OSGI-based runtime containers, add this package prefix to the appropriate OSGi configuration.
file.org.osgi.framework.bootdelegation=com.singularity.*