iManager login fails: Unable to create AdminNamespace. java.lang.NoClassDefFoundError

  • 7014982
  • 30-Apr-2014
  • 30-Apr-2014

Environment

NetIQ iManager
iManager 2.7.7
iManager 2.7.6
RedHat 6.5

Situation

When logging into iManager the following JAVA error is returned:
Unable to create AdminNamespace. java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl 

Resolution

Install the 32-bit versions of the RHEL libraries.
As iManager Documentation states:
While installing iManager on a Redhat 64-bit version, ensure that the 32-bit versions of the RHEL libraries are also installed.

RHEL
  • compat‐libstdc++‐33 (RHEL 5)

  • compat-libstdc++-33-*.el6.i686.rpm (RHEL 6 32-bit)

  • compat-libstdc++-33-*.el6.i686.rpm (RHEL 6 64-bit)

  • compat-libstdc++-33-*.el6.x86_64.rpm (RHEL 6 64-bit)

  • libstdc++-4.4.*.el6.i686.rpm (RHEL 6 64-bit)

  • libstdc++-4.4.*.el6.x86_64.rpm (RHEL 6 64-bit for GUI installation mode)

  • glibc-2.12-*.el6.i686 (RHEL 6 64-bit)

  • libXau-*.el6.i686.rpm (RHEL 6 64-bit)

  • libxcb-*.el6.i686.rpm (RHEL 6 64-bit))

  • libX11-*.el6.i686.rpm (RHEL 6 64-bit)

  • libXext-*.el6.i686.rpm (RHEL 6 64-bit)

  • libXi-*.el6.i686.rpm (RHEL 6 64-bit)

  • libXtst-*.el6.i686.rpm (RHEL 6 64-bit)

  • libstdc++-*.el6.i686.rpm (RHEL 6 64-bit)

  • libgcc-*.el6.i686.rpm (RHEL 6 64-bit)

  • libXrender-0.9.5-1.el6.i686.rpm (RHEL 6 64-bit)

Cause

The 32-bit versions of the RHEL libraries are missing.

Additional Information

iManager log contains:
Apr 24, 2014 9:45:08 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 44414 ms
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:189)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:633)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322)
at com.novell.emframe.fw.FwUtils.getiManInputStreamBasedOnProxy(FwUtils.java:3392)
at com.novell.emframe.fw.util.ModuleGet.downloadModuleDescriptorDocument(ModuleGet.java:823)
at com.novell.emframe.fw.util.ModuleGet.access$000(ModuleGet.java:53)
at com.novell.emframe.fw.util.ModuleGet$AsyncModuleDescriptorDownloader.run(ModuleGet.java:801)
at java.lang.Thread.run(Thread.java:724)
input to ShellCommand: rpm -q novell-oes-install
Apr 24, 2014 10:29:52 AM org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
java.lang.UnsatisfiedLinkError: /var/opt/novell/iManager/nps/WEB-INF/bin/linux/libJClient.so.1.0.0: libstdc++.so.6: cannot open shared object file: No such file or directory
NDSNamespaceImpl....235 java.lang.Exception: Unable to initialize JClient: java.lang.UnsatisfiedLinkError: /var/opt/novell/iManager/nps/WEB-INF/bin/linux/libJClient.so.1.0.0: libstdc++.so.6: cannot open shared object file: No such file or directory
NDSNamespaceImpl....236 This could be because of NICI or native library issues
                         
DirAuthenticator...1787 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class novell.jclient.JClient
DirAuthenticator...1191 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1213 Login failed:  admin:  10.213.250.88
AntiCsrfServletFil..245 Potential CSRF(Cross-site Request Forgery) detected against /nps/servlet/imanauthentication?null. Session has been logged out.
DirAuthenticator...1787 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1191 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1213 Login failed:  admin:  10.213.250.88
DirAuthenticator...1787 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1191 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1213 Login failed:  admin:  10.213.250.88
DirAuthenticator...1787 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1191 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1213 Login failed:  admin:  10.213.250.88
DirAuthenticator...1787 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1191 Unable to create AdminNamespace.
                         
                         java.lang.NoClassDefFoundError: Could not initialize class com.novell.admin.ns.nds.jclient.NDSNamespaceImpl
DirAuthenticator...1213 Login failed:  admin:  10.213.250.88