Technical data

2 Starting and Stopping WebLogic Servers
2-34 Administration Guide
-extrapath:”C\bea\wlserver6.0\bin” -cmdline:
%CMDLINE%
You must append the following to the command:
-password:”your_password
where your_password is the new password.
3. Execute the modified
installNTservice.cmd script. This will create a new
service with the updated password.
Registering Startup and Shutdown Classes
WebLogic Server provides a mechanism for performing tasks whenever a WebLogic
Server starts up or gracefully shuts down. A startup class is a Java program that is
automatically loaded and executed when a WebLogic Server is started or restarted. For
more information about when a server loads and runs startup classes, refer to “Server
Startup Process” on page 2-15.
Shutdown classes work the same way as startup classes. A shutdown class is
automatically loaded and executed when the WebLogic Server is shut down either
from the Administration Console or using the
weblogic.admin shutdown command.
In order for your WebLogic Servers to use startup or shutdown classes, it is necessary
to register these classes, which you can do from the Administration Console.
You can register a startup or shutdown class by doing the following:
1. Access the Startup & Shutdown table from the domain tree (in the left pane) in the
Administration Console. This table provides options for creating entries for
shutdown or startup classes in the domain configuration.
2. Provide the class name and necessary arguments, if any, on the Configuration tab
page for the startup or shutdown class you are adding.
See the Administration Console Online Help for more information on:
n Startup classes
n Shutdown classes