This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Exception while running IA binary file in Linux (Red Hat)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 10, 2008
06:48 AM
Exception while running IA binary file in Linux (Red Hat)
Hi,
When I try to excute a bin file (installMyApplication.bin) created using IA 2008 standard edition as a root user there was no problem.
The errors which I found while running as a normal user on Red-Hat machine are:-
{{{
[emsuser@emsqa]$ ./installMyApplication.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...
Error redirecting stderr. Output will be placed into 'err.txt' instead.
IAResourceBundle: create resource bundle: en
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified
'SWING' UI not supported by VM.
java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$000(Unknown Source)
at sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at sun.awt.X11.XToolkit.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at ZeroGah.(DashoA10*..)
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(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*..)
'SWING' UI not supported by VM.
java.lang.NoClassDefFoundError
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(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*..)
Specified UI 'GUI' not recognized.
__________________________________________________________________________
InstallAnywhere 2008
Version: 9.0
__________________________________________________________________________
Wed Jan 09 15:18:52 PST 2008
Free Memory: 15389 kB
Total Memory: 16320 kB
No Arguments
java.class.path:
/tmp/install.dir.8479/InstallerData
/tmp/install.dir.8479/InstallerData/installer.zip
ZGUtil.CLASS_PATH:
/tmp/install.dir.8479/InstallerData
/tmp/install.dir.8479/InstallerData/installer.zip
sun.boot.class.path:
/tmp/install.dir.8479/Linux/resource/jre/lib/rt.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/i18n.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/sunrsasign.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/jsse.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/jce.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/charsets.jar
/tmp/install.dir.8479/Linux/resource/jre/classes
java.ext.dirs:
/tmp/install.dir.8479/Linux/resource/jre/lib/ext
java.version == 1.5.0_11 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.5.0_11-b03
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.5
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 49.0
java.compiler == null
java.home == /tmp/install.dir.8479/Linux/resource/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == i386
os.version == 2.6.18-53.1.4.el5xen
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == emsuser
user.home == /home/emsuser
user.dir == /tmp/install.dir.8479
user.language == en
user.region == null
__________________________________________________________________________
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at javax.swing.JFrame.(Unknown Source)
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(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*..)
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at javax.swing.JFrame.(Unknown Source)
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(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)
}}}
Can anybody tell the reason for the error??
Thanks,
IAUser123
When I try to excute a bin file (installMyApplication.bin) created using IA 2008 standard edition as a root user there was no problem.
The errors which I found while running as a normal user on Red-Hat machine are:-
{{{
[emsuser@emsqa]$ ./installMyApplication.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...
Error redirecting stderr. Output will be placed into 'err.txt' instead.
IAResourceBundle: create resource bundle: en
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified
'SWING' UI not supported by VM.
java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$000(Unknown Source)
at sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at sun.awt.X11.XToolkit.
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at ZeroGah.
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(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*..)
'SWING' UI not supported by VM.
java.lang.NoClassDefFoundError
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(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*..)
Specified UI 'GUI' not recognized.
__________________________________________________________________________
InstallAnywhere 2008
Version: 9.0
__________________________________________________________________________
Wed Jan 09 15:18:52 PST 2008
Free Memory: 15389 kB
Total Memory: 16320 kB
No Arguments
java.class.path:
/tmp/install.dir.8479/InstallerData
/tmp/install.dir.8479/InstallerData/installer.zip
ZGUtil.CLASS_PATH:
/tmp/install.dir.8479/InstallerData
/tmp/install.dir.8479/InstallerData/installer.zip
sun.boot.class.path:
/tmp/install.dir.8479/Linux/resource/jre/lib/rt.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/i18n.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/sunrsasign.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/jsse.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/jce.jar
/tmp/install.dir.8479/Linux/resource/jre/lib/charsets.jar
/tmp/install.dir.8479/Linux/resource/jre/classes
java.ext.dirs:
/tmp/install.dir.8479/Linux/resource/jre/lib/ext
java.version == 1.5.0_11 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.5.0_11-b03
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.5
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 49.0
java.compiler == null
java.home == /tmp/install.dir.8479/Linux/resource/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == i386
os.version == 2.6.18-53.1.4.el5xen
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == emsuser
user.home == /home/emsuser
user.dir == /tmp/install.dir.8479
user.language == en
user.region == null
__________________________________________________________________________
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.
at java.awt.Frame.
at java.awt.Frame.
at javax.swing.JFrame.
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(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*..)
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.
at java.awt.Frame.
at java.awt.Frame.
at javax.swing.JFrame.
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(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)
}}}
Can anybody tell the reason for the error??
Thanks,
IAUser123
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 10, 2008
07:40 AM
It seems that there are a couple of issues here: the installer doesn't have any VM bundled, so it relies on the installed Java (which most likely it's not SUN's and it doesn't support swing) and then your installer is a graphical one but there seem to be an issue with your X server (or your DISPLAY export).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 10, 2008
10:49 PM
Hi,
Thanks for the reply.
No, the installer bundles java vm version 1.5.0_11-b03 and moreover the same thing works for 'root' user. The problem is generated only for 'normal' user.
so what could be the reason??
could you please tell how to solve DISPLAY export error??
Thanks,
IAUser123
Thanks for the reply.
No, the installer bundles java vm version 1.5.0_11-b03 and moreover the same thing works for 'root' user. The problem is generated only for 'normal' user.
so what could be the reason??
could you please tell how to solve DISPLAY export error??
Thanks,
IAUser123
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 11, 2008
02:14 AM
If you say that your installer bundles a JVM (which obviously supports AWT), it is quite clear that this is NOT the JVM the installer manages to use when launching. So I think it must have to do with the way the user account is set. How do you launch your installer? Do you do it from within a graphical shell (is the X graphical interface running)?
