Information:

Environment

Affects Versions: 4.1. +

  • Java Agent

 

Solution

Required agent permissions if java security framework is in place

Java Agent:

PropertyPermission("JDBCStringCacheMaxEntries", "read")
PropertyPermission("JDBCStringCacheMaxBytes", "read")
PropertyPermission("loggingLoggerNameStringCacheMaxEntries", "read")
PropertyPermission("loggingLoggerNameStringCacheMaxBytes", "read")
PropertyPermission("loggingMessageStringCacheMaxEntries", "read")
PropertyPermission("loggingMessageStringCacheMaxBytes", "read")

Java Sensor:

ReflectPermission("suppressAccessChecks")
PropertyPermission("line.separator", "read")
RuntimePermission("createClassLoader")
RuntimePermission("accessClassInPackage.sun.reflect")

Logging Sensor:

ReflectPermission("suppressAccessChecks")

Servlet Sensor:

ReflectPermission("suppressAccessChecks")
PropertyPermission("line.separator", "read")
RuntimePermission("createClassLoader")
RuntimePermission("accessClassInPackage.sun.reflect")

Logging/Exception Sensor:

PropertyPermission("line.separator", "read")

RMI/JRMP Sensor:

LoggingPermission("control", null),
PropertyPermission("line.separator", "read"),
PropertyPermission("sun.rmi.log.useOld", "read"),
PropertyPermission("sun.rmi.transport.connectionTimeout", "read"),
PropertyPermission("sun.rmi.transport.tcp.handshakeTimeout", "read"),
PropertyPermission("sun.rmi.transport.tcp.responseTimeout", "read"),
PropertyPermission("sun.rmi.runtime.schedulerThreads", "read"),
RuntimePermission("accessClassInPackage.sun.rmi.transport.tcp"),
RuntimePermission("sun.rmi.runtime.RuntimeUtil.getInstance")

JMX Sensor:

ReflectPermission("suppressAccessChecks")
RuntimePermission("createClassLoader")
MBeanPermission(null, null, null, "queryMBeans")
MBeanPermission(null, null, null, "getObjectInstance")
MBeanPermission(null, null, null, "getClassLoaderFor")
MBeanPermission(null, null, null, "getAttribute")
MBeanPermission(null, null, null, "getMBeanInfo")
MBeanPermission(null, null, null, "invoke")
RuntimePermission("setContextClassLoader")
MBeanPermission(null, null, null, "getClassLoaderRepository")
LoggingPermission("control","")
PropertyPermission("java.vm.name", "read")
PropertyPermission("java.vm.info", "read")
RuntimePermission("accessClassInPackage.sun.reflect")