APM agent Log file grows qickly with an same error message

Document ID : KB000100446
Last Modified Date : 29/06/2018
Show Technical Document Details
Issue:

The following error occurs with a JBoss 5 instance monitored with a JavaAgent. 

2018-05-15 16:54:26,107 FATAL [org.jboss.serial.persister.RegularObjectPersister] error 
java.lang.reflect.InvocationTargetException 
at sun.reflect.GeneratedMethodAccessor651.invoke(Unknown Source) ....... 
...... 
Caused by: java.lang.ClassNotFoundException: javax.management.j2ee.statistics.Statistic 
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) 
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) 
at com.wily.util.extension.JarExtension$AllPermissionsClassLoader.findClass(JarExtension.java:279) 
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) 
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) 

The log file grows quickly and can limite dramaticaly the freespace of the files system.

Environment:
APM 10.5.0 Release 10.5.0.20
Java1.7 
Jboss 5
Resolution:
Comment out  EJB EntityBeanTracing in the following PBD files: 
j2ee.pbd , toggles-full.pbd  and toggles-typical.pbd 

like :
####################### 
# EJB 2.0 Configuration 
# ================ 

TurnOn: EJB2StubTracing 
#TurnOn: SessionBeanTracing 
#TurnOn: EntityBeanTracing 
#TurnOn: MessageDrivenBeanTracing 
TurnOn: EJBMethodLevelTracing 

####################### 
# EJB 3.0 Configuration 
# ================ 

TurnOn: EJB3StubTracing 
#TurnOn: SessionBean3Tracing 
#TurnOn: EntityBean3Tracing 
#TurnOn: MessageDrivenBean3Tracing 
TurnOn: EJB3MethodLevelTracing