This post briefly outlines about starting/stopping weblogic server in sevral ways.
Start Weblogic Server in Windows
By default, this directory is MW_HOME\user_projects\domains\DOMAIN_NAME, where DOMAIN_NAME is the root directory of the domain. (The name of this directory is the name of the domain.)
-
bin/startWebLogic.cmd (Windows)
-
bin\startWebLogic.sh (UNIX and Windows. On Windows, this script supports the MKS and Cygnus BASH UNIX shell emulators.)
Starting Weblogic Server from the Windows Startup Menu
-
When you create an Administration Server on a Windows computer, the Configuration Wizard creates a shortcut on the Start Menu for starting the server (User Projects > DOMAIN_NAME > Start Admin Server for WebLogic Domain).
How to start Managed server from weblogic console
- Login to the Weblogic Admin Console
- Environment->Servers
- Click on the 'server' which you want to start/stop
- Choose 'Configuration' and 'Start/Stop' tabs as shown below
- Select the server and click on 'Start/Stop' button.
- If you encounter any warning message saying 'Node Manager is not running associated' then start the 'Node Manager' as explained below
-MW_HOME\wlsserver_10.3\server\bin
startNodeManager.cmd - If it is on Windows
startNodeManager.sh - If it is on UNIX
Starting Weblogic Server using Node Manager
-
"Node Manager is a utility for remote control of WebLogic Server instances. Using Node Manager you can control and monitor Managed Servers and also, start, stop, and restart Administration Servers."
-
Start Node Manager
c:\>java weblogic.WLST
wls:/offline> startNodeManager()
-
Start WLST
java weblogic.WLST
-
Connect WLST to a Node Manager by entering the nmConnect command.
wls:/offline>nmConnect('username','password','nmHost','nmPort', 'domainName','domainDir','nmType')
Example : nmConnect('weblogic', 'welcome1', 'localhost', '5556','fortuneminds','c:/bea/user_projects/domains/fortuneminds','ssl')
-
Start Server
wls:/nm/mydomain>nmServerStatus('serverName')
-
Stop Server
wls:/nm/mydomain>nmKill('serverName')
Ref : http://docs.oracle.com/cd/E12839_01/web.1111/e13715/manage_servers.htm#WLSTG166
Start the admin server:
<domain_home>/bin/startWebLogic.sh
Stop the admin server:
<domain_home>/bin/stopWebLogic.sh
Start the node manager:
<weblogic_home>/wlserver_10.3/server/bin/startNodeManager.sh
Start a managed server:
<domain_home>/bin/startManagedWebLogic.sh <managed_server_name> http://<admin_server_host>:<admin_port>
Stop a managed server:
<domain_home>/bin/stopManagedWebLogic.sh <managed_server_name> http://<admin_server_host>:<admin_port>