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