Instrument Oracle GlassFish
-javaagent option.
AppDynamics SaaS
list_alt
-javaagent JVM option
in the GlassFish domain. You can add the agent using the
asadmin tool as follows:
glassfish4\bin\asadmin.bat create-jvm-options '-javaagent:<Drive_letter>:<agent_home>\javaagent.jar'For
Linux:
glassfish4\bin\asadmin create-jvm-options "-javaagent\:/home/appduser/javaagent/javaagent.jar"
Ensure you escape the colon character on Linux. In GlassFish 3.x to 3.1.2, open the config.properties file
located at
<glassfish_home>/glassfish/osgi/felix/conf
and add the following package prefix to the
config.properties file:
org.osgi.framework.bootdelegation=com.singularity.*
In GlassFish => 3.1.2, in the boot delegation list in the
<glassfish_home>/glassfish/config/osgi.properties
file, add com.singularity.* For example:
-javaagent option.