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 Agent Using OpenJDK 11 gives Exception Error java.lang.NoClassDefFoundError: java/sql/SQLException


Article ID: 130737


Updated On:


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


After a JAVA upgrade from JDK 1.8 to OpenJDK 11, getting the following exception errors:

[ERROR] [IntroscopeAgent.Agent] Invalid tracer registration for plugin "SQL With Params Execute Timer" in extension "Introscope SQL Agent" loaded from "/opt/<APM_Agent _Home>/wily/core/ext/SQLAgent.jar".

 [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(
at com.wily.util.heartbeat.IntervalHeartbeat$BehaviorNode.execute(
at com.wily.util.heartbeat.IntervalHeartbeat.executeNextBehaviorAndCalculateSleepTime(
at com.wily.util.heartbeat.IntervalHeartbeat.access$2(
at com.wily.util.heartbeat.IntervalHeartbeat$
at java.base/
Caused by: java.lang.ClassNotFoundException: java.sql.SQLException
at com.wily.util.extension.JarExtension$AllPermissionsClassLoader.findClass(
at java.base/java.lang.ClassLoader.loadClass(
at com.wily.util.extension.EagerAllPermissionsClassLoader.loadClass(
at java.base/java.lang.ClassLoader.loadClass(
... 6 more


Standard On-premise APM Java Agent Does NOT Support OpenJDK 11.


CA APM 10.7 SP3 Agent 
Docker/Openshift/Kubernetes containers
Agent configuration is done through Dockerfile and scripts


After few test cases, SaaS Agent works instead of on-premise Agent. 
Please open a Support case to obtain the SaaS Agent if eligible ONLY.