Oracle iPlanet Web Server Install Fails With Error "libadminjni.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) java.lang.UnsatisfiedLinkError" (Doc ID 1371082.1)

Last updated on MARCH 07, 2017

Applies to:

Oracle iPlanet Web Server - Version 7.0 and later
Information in this document applies to any platform.
***Checked for relevance on 23-May-2014***

Goal

This article explains why the installation of Oracle iPlanet Web Server 7.0.x fails with the following error:

"libadminjni.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) java.lang.UnsatisfiedLinkError".


Example of install.log error:

Nov 9, 2011 4:58:27 PM com.sun.web.installer.common.dialogs.CustomDirectorySelectionPanel isDisplayComplete
INFO: Installing Oracle iPlanet Web Server 7.0.12
Nov 9, 2011 4:59:49 PM com.sun.web.installer.web.actions.PostInstall_core install
INFO: Start core server configuration
Nov 9, 2011 4:59:49 PM com.sun.web.installer.web.actions.PostInstall_core configureServer
INFO: Invoking the server configuration script
Nov 9, 2011 4:59:49 PM com.sun.web.admin.configurator.ConfigureServer main
INFO: ADMIN2000: Configuring Oracle iPlanet Web Server 7.0.12 B07/04/2011 04:42 on Linux 3.0.0-12-server i386
Nov 9, 2011 4:59:49 PM com.sun.web.admin.configurator.ConfigureServer main
FINE: Input tokens: {WS_ADMIN_IS_SERVER_MODE=true, WS_ADMIN_SSL_PORT=8989, WS_NODE_SSL_PORT=8989, WS_CONFIG_NAME=thewayii, WS_NODE_HOST=thewayii, WS_START_ON_BOOT=false, WS_JDK_HOME=/home/mark/jdk1.6.0_29, WS_DOCROOT=, WS_SERVER_NAME=thewayii, WS_ADMIN_HOST=thewayii, WS_SKIP_INSTANCE_CREATION=false, WS_64BIT_INSTALL=false, WS_SERVER_USER=nobody, WS_INSTALL_ROOT=/home/mark/ws7u12, WS_INSTANCE_ROOT=/home/mark/ws7u12, WS_CREATE_SERVICE=false, WS_ADMIN_SERVER_USER=root, INT_UUID=fde1ce27-0107-47c4-af94-c47d6f12a08e, WS_REGISTER_NODE=false, WS_HTTP_PORT=8080, INT_ENV_PATH=/home/mark/ws7u12/lib}
Nov 9, 2011 4:59:49 PM com.sun.web.admin.configurator.ConfigureServer <init>
FINEST: In ConfigureServer constructor
Nov 9, 2011 4:59:49 PM com.sun.web.admin.configurator.ConfigureServer configureServer
FINEST: In ConfigureServer.configureServer()
Nov 9, 2011 4:59:49 PM com.sun.web.admin.configurator.ConfigureServer configureServer
FINEST: Checking availability of common tokens...
Nov 9, 2011 4:59:49 PM com.sun.web.admin.configurator.ConfigureServer main
WARNING: /home/mark/ws7u12/lib/libadminjni.so: /home/mark/ws7u12/lib/libadminjni.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
java.lang.UnsatisfiedLinkError: /home/mark/ws7u12/lib/libadminjni.so: /home/mark/ws7u12/lib/libadminjni.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at com.sun.web.admin.util.Util.loadAdminJNILibrary(Util.java:148)
at com.sun.web.admin.util.ProcessRunner.<clinit>(ProcessRunner.java:189)
at com.sun.web.admin.util.PlatformUtil.validateJavaHome(PlatformUtil.java:54)
at com.sun.web.admin.configurator.ConfigureServer.configureServer(ConfigureServer.java:530)
at com.sun.web.admin.configurator.ConfigureServer.main(ConfigureServer.java:68)
Nov 9, 2011 4:59:49 PM com.sun.web.admin.configurator.ConfigureServer printFailedMessage
FINE: ADMIN2001: Error occurred during configuration of server instances
Nov 9, 2011 4:59:49 PM com.sun.web.installer.web.actions.PostInstall_core configureServer
WARNING: The backend configurator failed

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms