尝试安装IBM Worklight 6.1 server
失败,post-install error
在Windows 7 64 位上给出。
Installation manager version 1.6.3.1
Ant (1.9.2) also tried with 1.8.4
Application server Tomcat 8
===安装失败日志====
检测到的 Java 版本:1.6 在:D:\Program Files\IBM\Installation Manager\eclipse\jre_6.0.0.sr9_20110208_03\jre 检测到的操作系统:Windows 7 解析构建文件 D:\Program Files\IBM\Worklight\WorklightServer\post-install。 URI = file:/D:/Program%20Files/IBM/Worklight/WorklightServer/post-install.xml 的 xml 项目基础目录设置为:D:\Program Files\IBM\Worklight\WorklightServer 解析构建文件
jar:file:/D:/Program%20Files/IBM/Installation%20Manager/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/D:/Program%20Files/IBM/Installation%20Manager/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
[macrodef] creating macro ant-loop
[macrodef] creating macro call-wsadmin
[macrodef] creating macro deploy-webapp-into-tomcat
[macrodef] creating macro undeploy-webapp-from-tomcat
[macrodef] creating macro copy-confidential-file
[macrodef] creating macro create-user-read-protected-dir
[macrodef] creating macro protect-allfiles-in-destination-dir
[macrodef] creating macro sql-derby-statement
[macrodef] creating macro sql-derby-file
[macrodef] creating macro sql-file
[macrodef] creating macro ant-escape
[macrodef] creating macro wsadmin-escape
[macrodef] creating macro argpart-escape
[macrodef] creating macro arg-escape
目标“ant-loop-callee”的构建序列是 [ant-loop-callee] 完整的构建序列是 [ant-loop-callee,swallow-update-properties, init0, init1, init2, init3, init, show -properties, unconfigure-shortcuts, was-undeploy, undeploy-appcenter, unconfigure-appserver, uninstall-cleanup, 卸载, 清理, configure-appcenter-database=derby, was-deploy, configure-appcenter-database=db2, main, undeploy -appcenter-from-appserver=was, undeploy-appcenter-from-appserver=was85liberty, ant-loop-inside-installation-manager.part2.if-install, configure-shortcuts, deploy-appcenter-into-appserver=tomcat, 安全-卸载,ant-loop-inside-installation-manager.part1,ant-loop-inside-installation-manager.part2.if-not-install,ant-loop-inside-installation-manager.part3.if-install-failed , ant-loop-inside-installation-manager.part3.if-not-install-failed,ant-loop-inside-installation-manager, deploy-appcenter-into-appserver=none, undeploy-appcenter-from-appserver=tomcat, undeploy-appcenter-from-appserver=none, ant-loop-standalone, configure-config-工具、safe-foo、configure-appserver=was85liberty、unconfigure-appserver=tomcat、restore-embedded-server-location、delete-update-properties、configure-appcenter-database、configure-appserver、deploy-appcenter、fix-permissions-在脚本中,安装,安全安装,configure-appserver=tomcat,sql-derby-file-callee,sql-derby-statement-callee,protect-one-file,deploy-appcenter-into-appserver=was85liberty,configure- appserver=none,configure-appcenter-database=none,unconfigure-appserver=was85liberty,unconfigure-appserver=none,call-wsadmin-callee,deploy-appcenter-into-appserver=was,configure-appcenter-database=oracle,configure-应用服务器=是,配置-appcenter-database=mysql, unconfigure-appserver=was, ]
ant-loop-callee:解析构建文件 jar:file:/D:/Program%20Files/IBM/Worklight/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml with URI = jar:file:/D:/Program%20Files/IBM/Worklight/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml 从 zip 文件中解析 buildfile jar:file:/ D:/Program%20Files/IBM/Worklight/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml URI = jar:file:/D:/Program%20Files/IBM /Worklight/WorklightServer/uninstall/ant-contrib-1.0b3.jar!/net/sf/antcontrib/antlib.xml 来自 zip 文件 项目基础目录设置为:D:\Program Files\IBM\Worklight\WorklightServer [antcall]在构建文件 D:\Program Files\IBM\Worklight\WorklightServer\post-install.xml 中调用目标 [install] 解析构建文件 D:\Program Files\IBM\Worklight\WorklightServer\post-install。URI = file:/D:/Program%20Files/IBM/Worklight/WorklightServer/post-install.xml 的 xml 项目基目录设置为:D:\Program Files\IBM\Worklight\WorklightServer
[macrodef] creating macro ant-loop
[macrodef] creating macro call-wsadmin
[macrodef] creating macro deploy-webapp-into-tomcat
[macrodef] creating macro undeploy-webapp-from-tomcat
[macrodef] creating macro copy-confidential-file
[macrodef] creating macro create-user-read-protected-dir
[macrodef] creating macro protect-allfiles-in-destination-dir
[macrodef] creating macro sql-derby-statement
[macrodef] creating macro sql-derby-file
[macrodef] creating macro sql-file
[macrodef] creating macro ant-escape
[macrodef] creating macro wsadmin-escape
[macrodef] creating macro argpart-escape
忽略属性“argpart-escape.doublequote.escaped”[macrodef] 为目标创建宏 arg-escape 构建序列install' is [restore-embedded-server-location, delete-update-properties, init0, init1, show-properties, init2, init3, init, configure-appcenter-database, configure-appserver, deploy-appcenter, was-deploy, fix-permissions-in-scripts, configure-config-tool, configure-shortcuts, cleanup, install]
Complete build sequence is [restore-embedded-server-location, delete-update-properties, init0, init1, show-properties, init2, init3, init, configure-appcenter-database, configure-appserver, deploy-appcenter, was-deploy, fix-permissions-in-scripts, configure-config-tool, configure-shortcuts, cleanup, install, swallow-update-properties, unconfigure-shortcuts, was-undeploy, undeploy-appcenter, unconfigure-appserver, uninstall-cleanup, uninstall, configure-appcenter-database=derby, configure-appcenter-database=db2, main, undeploy-appcenter-from-appserver=was, undeploy-appcenter-from-appserver=was85liberty, ant-loop-inside-installation-manager.part2.if-install, deploy-appcenter-into-appserver=tomcat, safe-uninstall, ant-loop-inside-installation-manager.part1, ant-loop-inside-installation-manager.part2.if-not-install, ant-loop-inside-installation-manager.part3.if-install-failed, ant-loop-inside-installation-manager.part3.if-not-install-failed, ant-loop-inside-installation-manager, deploy-appcenter-into-appserver=none, undeploy-appcenter-from-appserver=tomcat, undeploy-appcenter-from-appserver=none, ant-loop-standalone, safe-foo, configure-appserver=was85liberty, unconfigure-appserver=tomcat, safe-install, configure-appserver=tomcat, sql-derby-file-callee, sql-derby-statement-callee, protect-one-file, deploy-appcenter-into-appserver=was85liberty, configure-appserver=none, configure-appcenter-database=none, unconfigure-appserver=was85liberty, unconfigure-appserver=none, call-wsadmin-callee, ant-loop-callee, deploy-appcenter-into-appserver=was, configure-appcenter-database=oracle, configure-appserver=was, configure-appcenter-database=mysql, unconfigure-appserver=was, ]
[antcall] Entering D:\Program Files\IBM\Worklight\WorklightServer\post-install.xml...
Build sequence for target(s)
install' 是 [restore-embedded-server-location, delete-update-properties, init0, init1, show-properties, init2, init3, init, configure-appcenter-database, configure-appserver, deploy-appcenter, was-deploy, fix-permissions-in-scripts, configure-config-tool, configure-shortcuts, cleanup, install] 完整的构建顺序是 [restore-embedded-server-location, delete-update-properties, init0, init1, show-properties, init2 、init3、init、configure-appcenter-database、configure-appserver、deploy-appcenter、was-deploy、fix-permissions-in-scripts、configure-config-tool、configure-shortcuts、清理、安装、swallow-update-properties , unconfigure-shortcuts, was-undeploy, undeploy-appcenter, unconfigure-appserver, 卸载-清理, 卸载, configure-appcenter-database=derby, configure-appcenter-database=db2, main, undeploy-appcenter-from-appserver=was ,取消部署-appcenter-from-appserver=was85liberty、ant-loop-inside-installation-manager.part2.if-install、deploy-appcenter-into-appserver=tomcat、安全卸载、ant-loop-inside-installation-manager。第 1 部分,ant-loop-inside-installation-manager.part2.if-not-install,ant-loop-inside-installation-manager.part3.if-install-failed,ant-loop-inside-installation-manager.part3。 if-not-install-failed, ant-loop-inside-installation-manager, deploy-appcenter-into-appserver=none, undeploy-appcenter-from-appserver=tomcat, undeploy-appcenter-from-appserver=none, ant- loop-standalone、safe-foo、configure-appserver=was85liberty、unconfigure-appserver=tomcat、safe-install、configure-appserver=tomcat、sql-derby-file-callee、sql-derby-statement-callee、protect-one-文件,部署-appcenter-into-appserver=was85liberty,configure-appserver=none,configure-appcenter-database=none, unconfigure-appserver=was85liberty, unconfigure-appserver=none, call-wsadmin-callee, ant-loop-callee, deploy-appcenter-into-appserver=was, configure-appcenter-database=oracle, configure-appserver=was, configure-appcenter-database=mysql, unconfigure-appserver=was, ]
restore-embedded-server-location:
[available] Unable to find file server_rename.properties
delete-update-properties:
[available] Unable to find file update.properties
init0:
[available] Found directory: D:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0
[available] Found file: D:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0\conf\tomcat-users.xml
[available] Found directory: C:\ProgramData\IBM\Worklight\derby
init1:
[property] Loading Environment env.
[exec] Current OS is Windows 7
[exec] Output redirected to property: windows.user.name
[exec] Error redirected to property: user.err
[exec] Executing 'uninstall\user.exe'
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
[exec] Current OS is Windows 7
[exec] Output redirected to property: windows.group.administrators
[exec] Error redirected to property: sid-name.err
[exec] Executing 'install\sid-name.exe' with arguments:
[exec] 'S-1-5-32-544'
[exec]
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
[可用] 找到文件:D:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0\lib\catalina-ant.jar [antcall] 退出 D:\Program Files\IBM\Worklight\WorklightServer\post-install.xml .
构建失败 D:\Program Files\IBM\Worklight\WorklightServer\post-install.xml:332:执行此行时出现以下错误:D:\Program Files\IBM\Worklight\WorklightServer\post-install.xml:1501 :
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=org/apache/catalina/ant/DeployTask, offset=6
at java.lang.ClassLoader.defineClass(ClassLoader.java:275)
at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1128)
at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1299)
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1355)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:172)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:239)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.Switch$Case.execute(Switch.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at net.sf.antcontrib.logic.Switch.execute(Switch.java:138)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
总时间:3秒