Corporate Info | News | Solutions | Products | Partners | Services | Events | Download | How To Buy

# Using WebLogic Server as an NT 4.0 service If you are a Windows NT 4.0 user, you can install WebLogic as an NT service. That means that the WebLogic Server will start automatically when the NT machine is booted. This document show you how to set up and use the service. Contents How to install WebLogic Server as an NT service How to remove WebLogic Server as an NT service Starting and stopping the WebLogic Server NT service Installing and removing multiple WebLogic NT services ## How to install WebLogic Server as an NT service Follow the instructions Setting up and installing WebLogic Server. ## How to remove WebLogic Server as an NT service Run the remove.exe program, located in the weblogic\bin directory. ## Starting and stopping the WebLogic Server NT service You can stop and start WebLogic easily from the Service Control Panel. From the Start menu, select "Control Panel" from the Settings menu. Double-click the Services Control Panel to open it. In the Services Control Panel, scroll to the end to find "WebLogic Server." If WebLogic is Started, you will have the option to Stop it when you select it, by clicking the Stop button to the right. If WebLogic is Stopped, the Start button will be available. You can make the NT service Automatic, Manual, or Disabled by clicking the "Startup" button and selecting a mode. ## Installing and removing multiple WebLogic NT services You can run multiple instances of WebLogic as NT services just as you can run several WebLogic Servers from the command line. To install another instance, run the install program giving a name for the additional instance:
    $ bin\install -name ServiceNameString
where: ServiceNameString Service name for the instance of the WebLogic Server Then, look in the Services Control Panel to verify that this service has been installed. You can remove an instance by using the remove command and giving it the service name:
    $ bin\remove -name ServiceNameString
You will need to set two properties as "Startup Parameters " in the NT Service Window, by using the -J-D flag, followed by the property: -J-Dweblogic.system.listenPort=port number to set the listen port for each server. Any number of WebLogic Servers can operate on the same host by listening on different ports. -J-Dweblogic.system.name=name to set the name for each server. The name of the server corresponds to the name of the per-server directory, which is where the configuration properties file, log files, and security certificates for each server are stored. -J-Dweblogic.system.bindAddr=IP address or hostname to set the IP address for the server, if the WebLogic Server host is multihomed.

Copyright © 2000 BEA Systems, Inc. All rights reserved. Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher. Last updated 09/24/1999