How to stop-start WebLogic Server

There are multiple ways to start WebLogic Server.

We will take a look at WebLogic Startup/Shutdown using scripts.


How to stop-start WebLogic Server

There are two type of WebLogic Server instance in a domain, Administration Server and Managed Server.

Administration Server

To start the Administration Server, follow the ensuing steps:
1. Log in as the Weblogic machine and navigate to the folder:
2. Start the Administration Server:
3. The server will initiate the startup process and ask for the WebLogic Administrator
username and password:
Enter username to boot WebLogic server: weblogic
Enter password to boot WebLogic server:
4. Type weblogic as the username and the <password> value you previously specified
during domain creation.
5. WebLogic Administration Server will start
We can specify a a file so the Administration Server doesn’t ask for the username and password at startup.
1. Go to the Administration Server root folder:
cd $DOMAIN_HOME/servers/<admin server name>
2. Create and enter a new directory:
mkdir security
cd security
3. Create a new file called with wlsadmin as the username and the
<password> value you specified:
echo -ne “username=weblogic\npassword=
<password>” >
4. The next time you start WebLogic Administration Server, it will use the credentials
from the file. The file will also be encrypted:

Login to console using the url

http://<server name>:9999/console

Managed Server

Generally Managed server are started and shutdown using the administrator console

When a start/stop operation is invoked for Managed Server, the Administration Console issues this command to the Node Manager. The Node Manager receives the startup
parameters and credentials from the Administration Console and starts the Managed Server.The Managed Server then contacts the Administration Server and checks for configurationchanges and if necessary, updates it. If the Administration Server is not reachable, the Managed Server uses the local copy of the configuration from the $DOMAIN_HOME/config/*

We can start Managed Server without Administration Server with exception for first time. If you are starting Managed Server for first time then Administration Server should be Up. Managed Server can cache config files locally(in its local config directory) and later Managed Server can start on its own.

— To start Managed Server using script, supply Admin Server protocol, Server Name and Listen Port <serverName> <admin_url> <serverName> <admin_url> <serverName> <admin_url> <user> <password>