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.

On Prem Java agent using OpenJDK 11 gives error

book

Article ID: 226510

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

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



 [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)

Environment

Release :

Component :

Resolution

Not Supported in 10.7