在无头服务器上安装 jems-installer,出现错误

在无头服务器上安装 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

答案1

JBoss 文档有这个问题的条目。此链接适用于 JBoss 4,但我猜总体方法尚未改变。希望这能有所帮助。

相关内容