• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Techgoeasy

Techgoeasy

Learn Oracle, PHP, HTML,CSS,Perl,UNIX shell scripts

  • Home
  • Oracle
    • Oracle database
    • Oracle Ebusiness Suite
    • Oracle weblogic
    • Oracle Performance Tuning
    • Oracle Hyperion
    • Oracle Cloud Tutorials
  • SQL
  • interview questions
  • Linux
  • PHP and HTML
  • Downloads
  • General
Home » Oracle » Weblogic » How to stop-start WebLogic Server

How to stop-start WebLogic Server

August 22, 2015 by techgoeasy Leave a Comment


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:
cd $DOMAIN_HOME/bin
2. Start the Administration Server:
./startWebLogic.sh
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 boot.properties 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 boot.properties with wlsadmin as the username and the
<password> value you specified:
echo -ne “username=weblogic\npassword=
<password>” > boot.properties
cat boot.properties
username=weblogic
password=<password>
4. The next time you start WebLogic Administration Server, it will use the credentials
from the boot.properties file. The file will also be encrypted:
cat boot.properties
password={GES}If68A2GSR0FATHnfPsoZvpmF/Ipc\=
username={AES}UYyIQYkNcG3VgZv6LP1zj+Ro1JBDb2ZE\=

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/*
directory.

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

startManagedWebLogic.sh <serverName> <admin_url>
stopManagedWebLogic.sh <serverName> <admin_url>
stopManagedWebLogic.sh <serverName> <admin_url> <user> <password>


Filed Under: Oracle, Weblogic Tagged With: How to stop-start WebLogic Server

Reader Interactions

Leave a Reply Cancel reply

Primary Sidebar

Top Posts & Pages

  • Oracle Indexes and types of indexes in oracle with example
  • Top 30 Most Useful Concurrent Manager Queries
  • Top 46 Oracle ASM Interview Questions
  • Oracle dba interview questions and answers
  • 40 question you must know about R12.2



Subscribe to our mailing list

Enter your email address to subscribe to this blog and receive notifications of new posts by email

Recent Posts

  • EBS PDB service name disappear from listener in 19c
  • how to download oracle e-business suite 12.2 software
  • Step by step upgrade process to R12.2 Upgrade part -2(Main Upgrade Driver for R12.2.0)
  • Step by step upgrade process for R12.2 Upgrade Part -1
  • Step by step upgrade process for R12.2 Upgrade Part -4(Applying 12.2.x Release Update Pack)

Copyright © 2021 : TechGoEasy

  • Hire me
  • Privacy Policy
  • Contact Us
  • New? Start Here
  • About Us