问题描述
我在IBM Websphere服务器上不断收到以下错误
I keep getting the following error on my IBM Websphere server
[4/22/15 16:20:35:203 EDT] 00000000 AdminTool A ADMU0111E: Program exiting with error: java.lang.NullPointerException
at com.ibm.ws.management.launcher.LaunchCommand.processDefaultJvmOptions(LaunchCommand.java:1246)
at com.ibm.ws.management.launcher.LaunchCommand.setParamsFromJavaProcessDef(LaunchCommand.java:1200)
at com.ibm.ws.management.launcher.LaunchCommand.setParamsFromProcessDef(LaunchCommand.java:617)
at com.ibm.ws.management.launcher.LaunchCommand.init(LaunchCommand.java:362)
at com.ibm.ws.management.launcher.LaunchCommand.<init>(LaunchCommand.java:262)
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:274)
我去过很多论坛,似乎找不到最新的答案.我知道我必须运行某种命令.我在Windows 7上,因此应该执行什么命令来解决此问题,我可以在Windows命令提示符下运行此命令.
I have been to numerous forums and cannot seem to find an up to date answer. I know I have to run some sort of command. I am on Windows 7 so what is the command I am supposed to run to fix this and can I run this command in the Windows command prompt.
推荐答案
此异常有时是由损坏的serverindex.xml或server.xml文件引起的.检查其中任何一个可能为0字节,然后从备份中还原.如果您没有备份,则创建新的配置文件将还原它们.
This exception is sometimes caused by corrupt serverindex.xml or server.xml files. Check for any of them that may be 0 bytes and restore from backup. If you don't have a backup creating a new profile will restore them.
这篇关于Websphere无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!