ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

java.lang.ClassNotFoundException ERROR messages in the Agent log

book

Article ID: 187821

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We are keep getting following ERROR messages in the APM Agent log.
 
[ERROR] [IntroscopeAgent.Agent] Exception finishing method tracer com.wily.introscope.agent.sqlagent.hc2.StatementCloseCleanupTracer actual trace for <class or package name>
 
[ERROR] [IntroscopeAgent.Agent] IntervalHeartbeat.execute threw executing: Waiting for Database Dynamic
java.lang.NoClassDefFoundError: java/sql/SQLException
 at com.wily.introscope.agent.db.DatabaseManager$3.ITimestampedRunnable_execute(DatabaseManager.java:122)
 at com.wily.util.heartbeat.IntervalHeartbeat$BehaviorNode.execute(IntervalHeartbeat.java:972)
 at com.wily.util.heartbeat.IntervalHeartbeat.executeNextBehaviorAndCalculateSleepTime(IntervalHeartbeat.java:491)
 at com.wily.util.heartbeat.IntervalHeartbeat.access$2(IntervalHeartbeat.java:445)
 at com.wily.util.heartbeat.IntervalHeartbeat$HeartbeatRunnable.run(IntervalHeartbeat.java:668)
 at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: java.sql.SQLException
 at com.wily.util.extension.JarExtension$AllPermissionsClassLoader.findClass(JarExtension.java:309)
 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
 at com.wily.util.extension.EagerAllPermissionsClassLoader.loadClass(EagerAllPermissionsClassLoader.java:115)
 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
 ... 6 more

Environment

10.7.0

Component : APM Agents

Resolution

APM Agent log is showing APM Agent Release 10.7 running on OpenJDK version 11.X.
 
APM Agent Release 10.7.0.197 (Build 992906)
is not supported and certified on the following JVM.
"OpenJDK 64-Bit Server VM 11.0.6"
 
Refer to the APM compatibility guide for supported and certified environments.
APM compatibility guide
https://techdocs.broadcom.com/us/product-content/status/compatibility-matrix/application-performance-management-compatibility-guide.html?r=2