0

我已经在 RHEL 6.4 上安装了 Worklight Server。

为服务器配置工具创建的菜单快捷方式具有以下路径:

/opt/IBM/Worklight/shortcuts/configuration-tool.sh

实际脚本安装到:

/opt/IBM/Worklight/WorklightServer/install/shortcuts/configuration-tool.sh

我更改了启动器以打开正确的脚本,但它默默地无法运行。从终端运行脚本时,出现以下错误:

[root@lr60xm4 ~]# /opt/IBM/Worklight/WorklightServer/install/shortcuts/configuration-tool.sh 
Exception in thread "main" java.lang.NoClassDefFoundError: JavaVersion6
Caused by: java.lang.ClassNotFoundException: JavaVersion6
    at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
Could not find the main class: JavaVersion6.  Program will exit.
Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.worklight.config.util.helper.JVMBitness
Caused by: java.lang.ClassNotFoundException: com.ibm.worklight.config.util.helper.JVMBitness
    at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
Could not find the main class: com.ibm.worklight.config.util.helper.JVMBitness.  Program will exit.
/opt/IBM/Worklight/WorklightServer/install/shortcuts/configuration-tool.sh: fatal error: unsupported platform

这是预期的行为吗?有什么我可以解决的吗?

我知道我可以使用 Ant,但不幸的是我几乎没有使用它的经验。

以下是一些系统细节:

[root@lr60xm4 ~]# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxz6460sr15-20131017_01(SR15))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr15-20131016_170922 (JIT enabled, AOT enabled)
J9VM - 20131016_170922
JIT  - r9_20130920_46510ifx2
GC   - GA24_Java6_SR15_20131016_1337_B170922)
JCL  - 20131015_01

[root@lr60xm4 ~]# uname -a; cat /etc/system*
Linux lr60xm4.dal-ebit.ihost.com 2.6.32-358.el6.s390x #1 SMP Tue Jan 29 12:06:31 EST 2013 s390x s390x s390x GNU/Linux
Red Hat Enterprise Linux Server release 6.4 (Santiago)
cpe:/o:redhat:enterprise_linux:6server:ga:server

提前致谢!

4

1 回答 1

3

该文件/opt/IBM/Worklight/WorklightServer/install/shortcuts/configuration-tool.sh不打算执行;它只是一个模板。请改用该文件/opt/IBM/Worklight/shortcuts/configuration-tool.sh;这是真的。

于 2014-01-07T17:11:34.037 回答