Starting and Stopping Oracle WebLogic Server Administration Server

Installing and Configuring Oracle Fusion Middleware 3-11

3.4 Starting and Stopping Servers, Components, and Applications

You can start and stop servers, components, and applications using the command line, the Oracle WebLogic Server Administration Console, or Fusion Middleware Control. The following topics describe how to start and stop these entities using Fusion Middleware Control, the command line, or both: ■ Starting and Stopping Oracle WebLogic Server Administration Server ■ Starting and Stopping Oracle WebLogic Server Managed Servers ■ Configuring Node Manager to Start Managed Servers ■ Starting and Stopping Components ■ Starting and Stopping Applications ■ Starting and Stopping Fusion Middleware Control ■ Starting and Stopping Oracle Management Agent

3.4.1 Starting and Stopping Oracle WebLogic Server Administration Server

You can start and stop Oracle WebLogic Server Administration Servers using the WLST command line or scripts. When you start or stop the Administration Server, you also start or stop the processes running in the Administration Server, including the WebLogic Server Administration Console and Fusion Middleware Control. To start an Oracle WebLogic Server Administration Server, use the following script: MW_HOME user_projectsdomainsdomain_namebinstartWebLogic.sh ORACLE_HOME Setting this is useful if you have only one Oracle Home in your environment or you will be working with just that one Oracle home. Set to the full path of the Oracle home. Do not use a trailing backslash in the definition. The following example shows the full path: C:\oracle\Middleware\ORACLE_SOA1 The value is automatically set during installation. ORACLE_INSTANCE Optional. Setting this is useful if you have only one Oracle instance in your environment or you will be working with just that one instance. Set to the full path of an Oracle instance. Do not use a trailing backslash in the definition. The following example shows the full path of a Web Tier installation: C:\oracle\Middleware\WebTier\instances\instance1 PATH Ensure that the value contains the following directory, which contains basic commands used by all installations: ORACLE_COMMON_HOME \bin JAVA_HOME Ensure that the value contains the following directory: MW_HOME \jdkn CLASSPATH Ensure that the value contains the following directory: ORACLE_HOME \lib:MW_HOME\jdkn\lib TEMP Set to your temp directory, for example, C:\temp. TMP Set to your temp directory, for example, C:\temp. Table 3–2 Cont. Environment Variables for Windows Environment Variable Value 3-12 Oracle Fusion Middleware 2 Day Administration Guide -Dweblogic.management.username=weblogic -Dweblogic.management.password=password -Dweblogic.system.StoreBootIdentity=true To stop an Oracle WebLogic Server Administration Server, use the following script: MW_HOME user_projectsdomainsdomain_namebinstopWeblogic.sh username password [admin_url]

3.4.2 Starting and Stopping Oracle WebLogic Server Managed Servers