PDA

View Full Version : failed to run installer on RH6 X64



zhiyangchen
03-30-2011, 04:14 AM
Hi everyone,

I couldn't execute our installer on RedHat 6 X64 platform? Does any one hit this?


[root@ Linux]# ./install-Linux.bin
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"
Graphical installers are not supported by the VM. The console mode will be used instead...

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 com.zerog.ia.installer.util.BidiUtilImpl.setDefaultLocale(DashoA10*..)
at ZeroGbd.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.s(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*..)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

jerome_IA
03-30-2011, 04:34 AM
By setting debugging, it should be more talkative about which library failed.

export LAX DEBUG=true && ./install-Linux.bin

Then post the output here again.

--Jerome

zhiyangchen
03-30-2011, 09:20 AM
Hi

Here is the information, does it mean we need to install the libX11.so.6 both from 32bit and 64bit?

LAX Version = 10.0
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/install.dir.7553/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 ZeroGcd.<clinit>(DashoA10*..)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at com.zerog.ia.installer.LifeCycleManager.<clinit>(DashoA10*..)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9V

# find / -name libX11.so.6
/usr/lib64/libX11.so.6

pv7721
03-30-2011, 09:22 AM
It may be because your installer is a graphical one and you're executing it in console mode (so no X available). What's the VM you bundle if any? If not, what might have happened is the following: you've bundled no VM and IA used whatever JVM it has found, which by default on RH is not a Sun/Oracle one, therefore known to behave a little peculiar with IA.

zhiyangchen
03-31-2011, 12:35 AM
Hi,

I don't agree with you. I can run my installer on GUI mode in RHEL4 or 5 but it failed on RHEL6. And also if my installer execute without GUI mode, it will automatically run console mode. The installer have VM boudled.

pv7721
03-31-2011, 04:32 AM
What is the bundled JVM version then? Also be aware that there might have been quite a few changes between RH 4 & 5 and RH 6.

zhiyangchen
03-19-2012, 12:39 AM
What is the bundled JVM version then? Also be aware that there might have been quite a few changes between RH 4 & 5 and RH 6.

Hi,

I am using the Bundled Linux IBM JRE 1.6 SR9 (32-bit)(InstallAnywhere). But I failed to launch the installer on Redhat 6.x X64 platform. The only work around I can do is install all the 32bit libraries as following:
compat-libstdc++-33-3.2.3-69
compat-db-4.6.21-15
libXp-1.0.0-15.1
libXmu-1.0.5-1
libXtst-1.0.99.2-3
pam-1.1.1-4
libXft-2.1.13-4.1
gtk2-2.18.9-4
gtk2-engines-2.18.4-5

Does anyone know the issue and how to fix it?

Niko2012
05-04-2012, 04:38 AM
i do have exactly the same problem. No impact if JVM 1.6 X64 is bundled or not: I do use GUI installation and get the same error:


Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)



Stack Trace:

java.lang.UnsatisfiedLinkError: /tmp/install.dir.1233/Linux/resource/jre/lib/amd64/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.load0(Unknown Source)

at java.lang.System.load(Unknown Source)

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at sun.security.action.LoadLibraryAction.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)

at sun.awt.DebugHelper.<clinit>(Unknown Source)

at java.awt.Component.<clinit>(Unknown Source)

at com.zerog.ia.installer.util.BidiUtilImpl.setDefaultLocale(DashoA10*..)

at ZeroGbb.a(DashoA10*..)

at com.zerog.ia.installer.LifeCycleManager.q(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(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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)

jerome_IA
05-04-2012, 04:49 AM
The issue was running 32 bit JRE on 64 bit OS.

In your case, you are running 64 bit JRE but what is the OS used?

--Jerome

Niko2012
05-09-2012, 02:01 AM
Extracted infos from "uname -a"

Linux 2.6.32-33-server
Ubuntu x86_64 GNU/Linux

Niko2012
05-09-2012, 02:18 AM
it seems that the library libXp.so.6 wasn't installed and needed by IA.

Why IA does need "X Printing Extension (Xprint) client library" is a good question but, by installing this library (sudo apt-get install libxp6) this problem was solved

Niko