WebSphere启动报错,急,望高手解决
[09-9-19 9:17:47:500 CST] 0000000a AdminTool A ADMU0111E: 由于错误 com.ibm.websphere.management.exception.NoServerDefinedException: No configuration defined for server: localhost
at com.ibm.ws.management.launcher.LaunchCommand.<init>(LaunchCommand.java:165)
at com.ibm.ws.management.tools.WsServerLauncher.initializeRepositoryAndLauncher(WsServerLauncher.java:382)
at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:257)
at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:261)
at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:136)
at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
,程序退出
[09-9-19 9:17:47:500 CST] 0000000a AdminTool A ADMU1211I: 要获取故障的全部跟踪,使用 -trace 选项。
[09-9-19 9:17:47:500 CST] 0000000a AdminTool A ADMU0211I: 在文件 C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\localhost\startServer.log 中可看到错误的详细信息
[解决办法]
No configuration defined for server: localhost
没有配置文件。
[解决办法]
No configuration defined for server: localhost
你的server的名字叫locahost?
默认的名字叫server1
检查一下你的server的名字是不是对吧
进入<install_root>/profiles/<porfileName>/bin
执行startServer.bat <yourServer Name>
或者startServer.sh <yourServer Name>
例如 startServer.sh server1
[解决办法]
执行serverStatus.bat -all看看都有哪些server