viviotech / lucee-installer

BitRock Installer XML config and files for the Lucee installers
http://lucee.viviotech.net/
9 stars 2 forks source link

32-bit JRE on 64-bit System Errors on Start #52

Closed utdream closed 11 years ago

utdream commented 11 years ago

java.lang.UnsatisfiedLinkError: /opt/railo/jdk/jre/lib/i386/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.loadLibrary1(Unknown Source) 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.loadLibrary1(Unknown Source) 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 sun.security.action.LoadLibraryAction.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Unknown Source) at java.awt.Toolkit.(Unknown Source) at sun.awt.AppContext$2.run(Unknown Source) at sun.awt.AppContext$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.AppContext.initMainAppContext(Unknown Source) at sun.awt.AppContext.access$200(Unknown Source) at sun.awt.AppContext$3.run(Unknown Source) at sun.awt.AppContext$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.AppContext.getAppContext(Unknown Source) at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source) at javax.imageio.ImageIO.(Unknown Source) at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:259) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:99) at org.apache.catalina.startup.Catalina.load(Catalina.java:633) at org.apache.catalina.startup.Catalina.load(Catalina.java:658) 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 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)

utdream commented 11 years ago

It may be possible to circumvent this issue with linking, but if Java isn't going to be supporting this kind of configuration I'm not going to support it either. I'm not here to support Java.

To that end, a 32-bit JVM on a 64-bit system will no longer be supported - but, I will leave the bittype switch in place so that it can be utilized in the rare case where a kernel is misidentified. If that happens, the installer can be run in text mode and a user can use the --bittype switch, as indicated here:

https://github.com/getrailo/railo/wiki/Installation%3Ainstallerdocumentation%3Alinunattended