Description Syntax Example startServer

3-80 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference All servers in the cluster mycluster are started successfully. wls:mydomainserverConfig

3.9.5 startServer

Command Category: Life Cycle Commands Use with WLST: Online or Offline

3.9.5.1 Description

Starts the Administration Server. In the event of an error, the command returns a WLSTException.

3.9.5.2 Syntax

startServer[adminServerName], [domainName], [url], [username], [password], [domainDir], [block], [timeout], [serverLog], [systemProperties], [jvmArgs] [spaceAsJvmArgsDelimiter] Note: You can use startServer only to start a WebLogic Administration Server, by running WLST from the WL_ HOMEcommonbin directory. You cannot use startServer to start an integrated WebLogic Administration Server that is, an Administration Server for a Fusion Middleware Suite product installed in an ORACLE_HOME directory. To start the Administration server for a Fusion Middleware Suite product other than WebLogic Server, use either of the following methods: ■ Execute the server startup script for the associated WebLogic domain. ■ Start the server using Node Manager. If you use this method, make sure that the startScriptEnabled property is set to true in Node Manager. Argument Definition adminServerName Optional. Name of the Administration Server to start. This argument defaults to myserver. domainName Optional. Name of the WebLogic domain to which the Administration Server belongs. This argument defaults to mydomain. url Optional. URL of the Administration Server. The URL supplied with the startServer command will override the listen address and port specified in the config.xml file. If not specified on the command line or in the config.xml file, this argument defaults to t3:localhost:7001. username Optional. Username use to connect WLST to the server. This argument defaults to weblogic. password Optional. Password used to connect WLST to the server. This argument defaults to welcome1. domainDir Optional. Domain directory in which the Administration Server is being started. This argument defaults to the directory from which you started WLST. WLST Command and Variable Reference 3-81

3.9.5.3 Example

The following example starts the Administration Server named demoServer in the demoDomain. wls:offline startServerdemoServer,demoDomain,t3:localhost:8001, myweblogic,wlstdomain,c:mydomainswlst,false, 60000, jvmArgs=-XX:MaxPermSize=75m, -Xmx512m, -XX:+UseParallelGC wls:offline

3.9.6 suspend