Forcefully killing the server

There could be situations in which you might want to kill your WebSphere Application Server forcefully either because it is not responding or you want to generate thread dump.

You can do that by first going to wp_profile/logs/<servername> directory and opening the .pid file in the text editor in case of Windows machine you can open the .pid file in Notepad. Inside the .pid file there would be a number which is the process id for that server. Use it to kill the server.

On linux box you can kill it using kill <pid> command and you can generate thread dump by executing kill -3 <pid> command

No comments: