startServer.log中错误信息
[19-10-11 15:44:48:555 CST] 00000001 AdminTool A ADMU0111E: 由于发生以下错误,程序正在退出:com.ibm.websphere.management.exception.AdminException
at com.ibm.ws.management.launcher.DefaultLaunchPlatformHelper.getDefaultBootclasspath(DefaultLaunchPlatformHelper.java:121)
at com.ibm.ws.management.launcher.LaunchCommand.processBootstrapClasspathInfo(LaunchCommand.java:1683)
at com.ibm.ws.management.launcher.LaunchCommand.setParamsFromJavaProcessDef(LaunchCommand.java:1226)
at com.ibm.ws.management.launcher.LaunchCommand.setParamsFromProcessDef(LaunchCommand.java:631)
at com.ibm.ws.management.launcher.LaunchCommand.init(LaunchCommand.java:375)
at com.ibm.ws.management.launcher.LaunchCommand.(LaunchCommand.java:269)
at com.ibm.ws.management.tools.WsServerLauncher.initializeRepositoryAndLauncher(WsServerLauncher.java:424)
at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:279)
at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:269)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:136)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:140)
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 com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:280)
[19-10-11 15:44:48:555 CST] 00000001 AdminTool A ADMU1211I: 要获取故障的全部跟踪,使用 -trace 选项。
[19-10-11 15:44:48:555 CST] 00000001 AdminTool A ADMU0211I: 在文件 E:\Rasp\websphere8.5\AppServer\profiles\AppSrv01\logs\server1\startServer.log 中可看到错误的详细信息
解决方法:
\websphere8.5\AppServer\profiles\AppSrv01\bin目录下执行以下命令
managesdk.bat -listAvailable
managesdk.bat -enableProfileAll -sdkName 1.6_64
managesdk.bat -setCommandDefault -sdkName 1.6_64
managesdk.bat -setNewProfileDefault -sdkName 1.6_64
参考地址:
https://cloud.tencent.com/developer/ask/144443