Saturday, February 18, 2012

WebLogic graceful shutdown command

I believe most of us shutdown WebLogic with a kill "pid" .

If the process doesn't want to die, we do a kill -9 "pid" and we mutter "die, bastard!"

This is not very elegant and ladylike.

The alternative is through the Web Console, you can control each instance inclusive the Admin.

Otherwise you can use:
java weblogic.Admin -url t3://localhost:7001/ -username weblogic -password weblogic FORCESHUTDOWN yourserver

or the $DOMAIN_HOME/stopWebLogic.sh which in turns uses a WLST script invoking the WLST shutdown command

Here
http://docs.oracle.com/cd/E15523_01/web.1111/e13708/overview.htm
the official documentation on how to startup and shutdown

No comments: