Java error trying to load Java Remote Loader

  • 7000032
  • 17-Apr-2008
  • 10-Jun-2013

Environment


Novell Identity Manager - Remote Loader
Novell Identity Manager 3.5

Situation

When trying to start the Java Remote Loader for certain drivers an error is thrown as shown below stating NoClassDefFoundError when looking for the CommonDocument class. This does not currently happen with the default config8000.txt using the Delimited Text driver shim but does with the JDBC driver shim among others.

Resolution

Copy CommonDriverShim.jar to the Java Remote Loader's ./lib directory. This JAR ships with the Engine as well as the regular Remote Loader and is present in the novell-DXMLdev RPM package.

This has been resolved in IDM v3.6

Additional Information

./dirxml_jremote -config ./config8000.txt
Starting java...
java.lang.NoClassDefFoundError:
com/novell/nds/dirxml/driver/util/CommonDocument
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getDeclaredConstructor(Unknown Source)
at com.novell.nds.dirxml.remote.loader.Driver.(Driver.java:74)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.newDriver(RemoteLoader.java:1024)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.start(RemoteLoader.java:226)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader._main(RemoteLoader.java:121)
at
com.novell.nds.dirxml.remote.loader.RemoteLoader.main(RemoteLoader.java:26)