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.

CDA: DMtool fails with "java.lang.NoClassDefFoundError"

book

Article ID: 200099

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After upgrading CDA from 12.2.4 to 12.3.3, the DMTool was upgraded as well from 1.2.7 to 1.4.0

When launching the Deploy workflow it fails on [email protected] with the following error that seems to indicate an incompatibility between dmtools.jar and the customer java version:


 DMTool: Version: 1.4.0
        DMTool: Date: 2020-04-20 07:51
        DMTool: 
        Exception in thread "main" java.lang.NoClassDefFoundError: com.sun.net.ssl.internal.ssl.Provider
         at java.lang.J9VMInternals.prepareClassImpl(Native Method)
         at java.lang.J9VMInternals.prepare(J9VMInternals.java:304)
         at java.lang.Class.getConstructor(Class.java:594)
         at org.apache.commons.discovery.tools.ClassUtils.newInstance(ClassUtils.java:159)
         at org.apache.axis.AxisProperties$1.run(AxisProperties.java:183)
         at java.security.AccessController.doPrivileged(AccessController.java:678)
         at org.apache.axis.AxisProperties.newInstance(AxisProperties.java:166)
         at org.apache.axis.components.net.SocketFactoryFactory.getFactory(SocketFactoryFactory.java:75)
         at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:187)

Cause

The error was due to the usage of a Java distribution (IBM JVM 9) not supported by PCK.AUTOMIC_DM 1.4.0

Only Oracle Java 8 and Openjdk 11 version are supported with PCK.AUTOMIC_DM 1.4.0 as explained in the compatibility matrix:
https://docs.automic.com/tools/compatibility_matrix?compatibility-mode=component&offering_version_id=1580454645229&lifecycle_entity_id=1427210102210

Environment

Release : 1.4.0

Component : PACKAGE DM 

Resolution

Install a supported Java version and add it in the Agent's user path so that it's used instead of the unsupported Java version.