websphere

WASserver出现Causedby:java.lang.OutOfMemoryError时,

会生成文件

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/heapdump......0001.phd

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/javacore.....0003.txt

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/Snap....0009.trc

----

需要重启服务器

ps-ef|grepserver1--查询server进程ID

在nodeagent运行时,使用kill结束server进程,nodeagent又会自动启动

需要先停止nodeagent,killserver,启动nodeagent,启动server

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopNode.sh

kill-9server1ID

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startNode.sh

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.shserver1

相关推荐