我们在生产环境中每天遇到麻烦,WebSphere Application Server在停止时会超时。收到的错误是
ADMU3060E:等待服务器关闭超时
以下是该错误的一些内容:
[6/14/20 3:30:21:650 CDT] 00000001 AdminTool A ADMU3201I: Server stop request issued. Waiting for stop status.
[6/14/20 3:50:21:719 CDT] 00000001 AdminTool A ADMU3111E: Server stop requested but failed to complete.
[6/14/20 3:50:21:720 CDT] 00000001 WsServerStop E ADMU3002E: Exception attempting to process server c0tcpc0
[6/14/20 3:50:21:721 CDT] 00000001 WsServerStop E ADMU3007E: Exception com.ibm.websphere.management.exception.AdminException: ADMU3060E: Timed out waiting for server shutdown.
[6/14/20 3:50:21:721 CDT] 00000001 WsServerStop A ADMU3007E: Exception com.ibm.websphere.management.exception.AdminException: ADMU3060E: Timed out waiting for server shutdown.
at com.ibm.ws.management.tools.WsServerStop.runTool(WsServerStop.java:434)
at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:271)
at com.ibm.ws.management.tools.WsServerStop.main(WsServerStop.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
WebSphere Application Server版本是8.5.5.9,WebSphere SDK版本是7.0.9.30。
答案 0 :(得分:0)
stopServer命令具有您可以指定的可选超时(以秒为单位)。查看是否有帮助,例如stopServer.sh server1 -timeout 20
(抱歉,起初我没有注意到您的停止和失败消息确实已经相隔20秒以上,但是仍然可以在stopServer中指定比默认超时更长的时间。)