Wednesday, July 14, 2010

PID

Many a times we are asked to terminate a weblogic server instance.

Weblogic server be it managed or admin is nothing but a java program.

Hence is three managed servers say ms1, ms2 and ms3 running on the same physical box, you will find 3 java.exe processes in the task managed.

If you are asked to kill ms2 managed server instance, how will determine which java.exe process represents ms2.

There are two ways inorder to overcome this issue in Windows operating System.

a) Use processexplorer tool that is provided by microsoft and is a freeware.

You can download Process Explorer from the link below or simply google it.

b) the other way to know which process id (pid) is representing which managed instance, we can go to the following location and check.

${weblogic_home}\common\nodemanager\servers\${servername}\data\nodemanager\${servername}.pid

Open this file and you will find the PID of that managed instance.

Having known the PID of the managed instance, you can simple go and kill that pic process from the taskmanager.

No comments:

Post a Comment