Running IDM on OES 11 gives Error initializing DirXML: java.lang.NoClassDefFoundError

  • 7010127
  • 07-Feb-2012
  • 26-Apr-2012

Environment

Novell Identity Manager 3.6.1
Novell Identity Manager 4.0
Novell Identity Manager Engine Functionality

Situation

Installation for IDM using individual installer from AE build is completed
without any error. But upon loading the DirXML module (libvrdim.*) following
exception is generated:

Error initializing DirXML: java.lang.NoClassDefFoundError:
novell/jclient/JCContext
    at com.novell.nds.dirxml.engine.MiscDS.createLocalContext(MiscDS.java:73)
    at com.novell.nds.dirxml.engine.DirXML.run(DirXML.java:256)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: novell.jclient.JCContext
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 3 more

Resolution

On checking directory /opt/novell/eDirectory/lib/dirxml/classes/ the entry for
jclient.jar is missing.

On creating soft link of jclient.jar from
(/opt/novell/eDirectory/lib64) at (/opt/novell/eDirectory/lib/dirxml/classes)
the DirXML module starts without any error.
 
To create the soft link do this:
ln -s /opt/novell/eDirectory/lib64/jclnt/libjclnt.so.0.0.0
/opt/novell/eDirectory/lib64/jclnt/libjclnt.so