XML & Web services: How to check the status of weblogic dynamically thru C/Script.
- Posted by: amber jain
- Posted on: March 07 2002 23:37 EST
I want to know if I can check the status of weblogic(whether its running or down) dynamically thru a C program or some script. And once I have found that that the server is down, can I restart it dynamically from the same program.
- How to check the status of weblogic dynamically thru C/Script. by Jesus Guerra on March 12 2002 03:58 EST
- How to check the status of weblogic dynamically thru C/Script. by N SK on March 15 2002 03:29 EST
well: the better the simplest: we've a similar problem and we use the Windows API to achieve it.<br>
You can use this APIs from user32.dll:<br>
you have APIs to kill a process too, if you need it.<br>
I am not sure about Weblogic. but i can tell u, in websphere u can get the datas using xmlconfig -import. basicall u need to extract the output file and get the status.
I am sure there will be something like this in weblogic, wherein u can get the current status right from Node to Individual beans.
u can try to sue WLST to get server status