# How Do I: Start or Stop WebLogic Server?

The applications you develop in WebLogic Workshop are deployed to a running instance of WebLogic Server. Before you can compile, run, or debug an application, WebLogic Server must be running. If you attempt to perform these operations when the server is not running, WebLogic Workshop will offer to start the server for you.

You can confirm whether WebLogic Server is running by looking at the status bar at the bottom of WebLogic Workshop. If WebLogic Server is running, a green ball is displayed as pictured below.

If WebLogic Server is not running, a red ball is displayed, as pictured below.

You can both start and stop WebLogic Server in several ways. The following procedures explain how.

To Start WebLogic Server from the Tools Menu

In WebLogic Workshop, from the Tools menu, choose WebLogic Server-->Start WebLogic Server. If you want to continue working while the WebLogic Server is starting up, click Hide in the WebLogic Server Progress dialog.

To Start WebLogic Server from a Command Line

1. From a command line, change directory to the root directory of the WebLogic Server domain in which you'd like to start WebLogic Server. The root directory of the WebLogic Workshop sample server in the workshop domain is BEA_HOME/weblogic81/samples/workshop where BEA_HOME represents the root directory of WebLogic Workshop.

2. Enter startWebLogic.

   For detailed information on starting WebLogic Server from the command line, see startWebLogic Command.

To Stop WebLogic Server

- In WebLogic Workshop, from the Tools menu, choose WebLogic Server-->Stop WebLogic Server.

To Stop WebLogic Server from the Console

1. Shut down the server from the WebLogic Server console. In the default configuration, the console can be reached at http://localhost:7001/console. If you are using WebLogic Workshop's Platform, Workshop, or Integration domain servers, sign in using weblogic for both the username and password.

   Note: To find out which WebLogic server you are using, right-click the top-level folder in the Application tab of the WebLogic Workshop and select properties, then select WebLogic Server in the left-hand pane. In the pane on the right-hand side you can change various server settings including the username and password.

2. In the tree pane on the left hand side of the WebLogic Server console, select platformServer (for the platform server) or cgServer (for the workshop and integration servers), which is located in the Servers folder underneath the top-level folder.
3. In the tabbed pane on the right-hand side, click the Control tab.
4. Click Graceful shutdown of this server... or, if necessary, Force shutdown of this server.... On the next page, click Yes.

Related Topics

How Do I: Administer WebLogic Server Through the Administration Console?