Technical data

Setting Up a WebLogic Server Instance as a Windows Service
Administration Guide 2-33
By default, standard out is the command prompt in which you run the
server-specific
batch file.
3. Remove your password from the
installNTService.cmd script. Leaving this
password on the filesystem in an unencrypted format opens a security
vulnerability.
Removing WebLogic Server as a Windows Service
To remove the WebLogic Server as a Windows service, do the following:
1. Navigate to the
weblogic\config\mydomain directory (where weblogic is the
directory where WebLogic Server was installed and
mydomain is the subdirectory
with your domain’s configuration).
2. Open the script
uninstallNTService.cmd in a text editor.
3. Change the value of -svcname: to specify the name of the service that you want
to remove.
4. Save and execute
uninstallNTService.cmd.
Changing Passwords for a Server Installed as a Windows
Service
If you install the Default Server as a Windows service, the system password that you
entered during installation of the WebLogic Server software is used when creating the
service. If this password is later changed, you must do the following:
1. Uninstall the WebLogic Server as a Windows service using the
uninstallNTService.cmd script (located in the directory
install_dir/config/domain_name where install_dir is the directory where
you installed the product).
2. The
installNTservice.cmd script contains the following command:
rem *** Install the service
“C:\bea\wlserver6.1\bin\beasvc” -install -svcname:myserver
-javahome:”C:\bea\jdk130” -execdir:”C:\bea\wlserver6.1”