When opening the Database Browser feature, error "java.lang.NoClassDefFoundError: Could not initialize class com.appworx.alligator.M" is thrown
search cancel

When opening the Database Browser feature, error "java.lang.NoClassDefFoundError: Could not initialize class com.appworx.alligator.M" is thrown

book

Article ID: 377744

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

When opening the Database Browser feature, the following error is thrown in the client:

ErrorMsg: AwE-9999 Internal error
Details: null
java.lang.NoClassDefFoundError: Could not initialize class com.appworx.alligator.M
 at com.appworx.alligator.AWAlligator.<init>(AWAlligator.java:112)
 at com.appworx.alligator.AWAlligator.B(AWAlligator.java:531)
 at com.appworx.client.screen.main.AxMain$6.actionPerformed(AxMain.java:821)
 at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
 at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
 at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
 at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
 at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)
 at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1028)
 at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1072)
 at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626)
 ...
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: oracle/jdbc/internal/ClientDataSupport [in thread "AWT-EventQueue-0"]
 at java.base/java.lang.ClassLoader.defineClass1(Native Method)
 at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
 at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
 at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
 at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
 at com.appworx.alligator.M.<clinit>(DBConnection.java:27)
 ... 40 more

Environment

Applications Manager 9.5.x

Cause

The Java Client's jars directory is missing an ojdbc*.jar Oracle driver

Resolution

In the directory where RunClient.jar, review the jars directory.

The same ojdbc*.jar file that exist in the Master's $AW_HOME/web/classes or %AW_HOME%\web\classes(Windows OS) directory should be found in this directory.

If not found, manually move a copy of the ojdbc*.jar from the master's classes to the the client's jars directory and relaunch the client.