Linux
在無頭伺服器上安裝 jems-installer,錯誤
我正在嘗試在我們的一台虛擬伺服器上安裝 JBoss。我下載了 jems-installer 來安裝 JBoss,但它希望在 GUI 中執行。這是我得到的錯誤。
[root@S3WEB tmp]# java -jar jems-installer-1.2.1.CR4.jar Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java/jre1.6.0_25/lib/i386/xawt/libmawt.so: libXext.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 java.awt.Toolkit.loadLibraries(Unknown Source) at java.awt.Toolkit.<clinit>(Unknown Source) at java.awt.Color.<clinit>(Unknown Source) at com.izforge.izpack.installer.InstallData.<init>(InstallData.java:51) at com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:107) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.izforge.izpack.installer.Installer.main(Installer.java:62)
那麼如何在沒有 GUI 的情況下安裝 JBoss。
系統:Redhat Linux Enterprise 5.5
JBoss 文件對此問題有一個條目。此連結適用於 JBoss 4,但我想一般方法還沒有改變。希望這可以幫助。