Worklight Server 6.1 configuration-tool.sh错误

时间:2014-01-03 14:56:24

标签: ibm-mobilefirst rhel worklight-server

我在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

提前致谢!

1 个答案:

答案 0 :(得分:3)

文件/opt/IBM/Worklight/WorklightServer/install/shortcuts/configuration-tool.sh并不意味着要执行;它只是一个模板。请改用文件/opt/IBM/Worklight/shortcuts/configuration-tool.sh;这是真实的。