IBM Support

Link error running the WebSphere Presence Server install on RedHat Linux

Technote (troubleshooting)


Problem(Abstract)

When installing IBM WebSphere Presence Server on a RHEL x86_64 platform, the installation reports a link error and exits.

Symptom

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Exception in thread "main" Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:

java.lang.UnsatisfiedLinkError: java/awt/Component.initIDs()V
at java.awt.Component.<clinit>(Component.java:595)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:157)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:157)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:157)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:157)
at com.zerog.ia.installer.LifeCycleManager.g(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)


Cause

The problem is in the InstallAnywhere code that requires extra libraries to be installed into the system.


Diagnosing the problem

Run the installer in debug mode to determine what kind of library is missing:

  1. Set the installer for DEBUG mode by running the export LAX_DEBUG=1 command.
  2. Run the installer.
  3. Collect the output.
 
Below is a snippet of sample output:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/install.dir.12357/Linux/resource/jre/jre/bin/xawt/libmawt.so (libX11.so.6: cannot open shared object file: No such file or directory)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:957)
at java.lang.System.load(System.java:441)
at java.lang.ClassLoader.loadLibraryWithPath(Native Method)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:949)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:926)
at java.lang.System.loadLibrary(System.java:453)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:77)
at java.security.AccessController.doPrivileged(AccessController.java:193)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1561)
at java.awt.Toolkit.<clinit>(Toolkit.java:1582)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at ZeroGah.<clinit>(DashoA10*..)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at ZeroGh.b(DashoA10*..)
at ZeroGh.a(DashoA10*..)
at ZeroGh.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)

Resolving the problem

Install the rpm related to the missing library. Based on the missing file libX11.so.6 identified in the output above, the install expected the RHEL x386 X11 libraries even though the installation was on the RHEL x86_64 platform.

Document information

More support for: WebSphere Presence Server
Install

Software version: 7.0, 7.2

Operating system(s): Linux

Reference #: 1612319

Modified date: 28 March 2013


Translate this page: