You are on page 1of 38

Oracle WebLogic Installation and Configuration

Version 1.0
02-02-2022

©2018 JMR Infotech — All rights reserved


1/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Document Control

Contact Point Girish Reddy K

Title JMR Infotech - Consultant

Phone

Email Girishreddy.k@jmrinfotech.com

Document Details

Title Build Documents_WebLogic Installation and Configuration

Release State DOC

Version 1.0

Owner JMR

Revision History
Date Author Version Summary of Changes

©2018 JMR Infotech — All rights reserved


2/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Review Feedback

Reviewer Name Review Comments Release Date

Approver List

Name Position Release Date

©2018 JMR Infotech — All rights reserved


3/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

TABLE OF CONTENTS
1 Executive Summary ......................................................................................... 5
2 Document Purpose .......................................................................................... 7
3 Scope of Work ................................................................................................... 7
3.1 JMRi Responsibilities .................................................................................................. 7
4 Prerequisites ...................................................................................................... 8
4.1 JDK Installation ........................................................................................................ 8
5 Oracle Fusion Middleware Infrastructure Installation ..................... 10
5.1 Prepare the server for Oracle Fusion Middleware Infrastructure Installation ........... 10
5.2 Creating the Fusion Middleware Infrastructure Home Directory ............................... 10
5.3 Changing ownership and Privileges of Middleware Home Directory ........................ 10
5.4 Start the installation ................................................................................................... 10
6 Oracle WebLogic Domain Creation and Configuration ...................... 19
7 Starting and Stopping WebLogic Servers .............................................. 35
7.1 Start WebLogic Admin Server ................................................................................... 35
7.2 Start NodeManager Server ....................................................................................... 35
7.3 Stop NodeManager Server ....................................................................................... 35
7.4 Stop WebLogic Admin Server ................................................................................... 35
8 WebLogic Administration ............................................................................ 36
8.1 Start Managed Servers ............................................................................................. 37
8.2 Stop Managed Servers ............................................................................................. 38

©2018 JMR Infotech — All rights reserved


4/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

1 Executive Summary
Oracle WebLogic Server is the flagship component of the Oracle Cloud Application Foundation
offering. Oracle Cloud Application Foundation is an integrated, flexible, and proven middleware
platform built on standards-based technologies for portability, efficiency and lower total cost of
ownership. It brings together key industry-leading technologies like the Oracle WebLogic Server
for Java EE. Oracle Cloud Application Foundation runs across conventional systems and cloud
environments. It is optimized to run on Oracle Exalogic Elastic Cloud for on-premise cloud
deployments and is available on 3rd party clouds for increased flexibility and scalability.
An WebLogic application server provides a development and execution platform for internal
applications (typically supporting internal business functions) and external-facing applications,
which can be business-critical, customer facing, supporting partners, and more. Application
servers provide runtime capabilities such as reliability, availability, scalability, security, user
management, performance, virtualization and more. In addition, application servers provide
tools for developing, testing, and deploying applications. According to multiple research
institutes like Forbes, IEEE, and IDC, CIOs recognize cloud computing as a critical enabler to
achieve their business priorities. As IT professionals respond, a versatile application server can
simplify the process of transitioning the infrastructure to a cloud platform.
Oracle WebLogic Server 12c is the number one application server, with a 40 percent share of
the application server market.2 With Oracle WebLogic Server version 12.1.2 Oracle has created
a versatile middleware foundation on which to run applications on conventional infrastructure,
cloud-computing infrastructure, and engineered systems. It is the foundation for Oracle Fusion
Middleware and Fusion Applications and a key technology in Oracle’s cloud computing
infrastructure. New enhancements support next generation applications including mission-critical
applications, mobile enabled applications, Web applications and more. Cloud elasticity is
provided through dynamic clusters and deep integration with Oracle Database 12c. Managed
Coherence Servers leverage the WebLogic Management Framework to enable an efficient,
unified management environment that simplifies operations across the application server and
data grid tiers. Support for modern development technologies like Maven along with Oracle’s
integrated development tools help improve developer productivity.
Oracle’s product roadmap meets customers where they are today and offers capabilities that
satisfy their future plans. If you are running your applications in a conventional environment,
your organization will benefit from the many enhancements to the industry’s leading application
server platform. You may also be interested in evolving your data centre to engineered systems
with Oracle Exalogic Elastic Cloud or you might wish to develop and run some of your
applications on Oracle’s public cloud environment—the Oracle Java Cloud Service. Oracle
WebLogic Server 12c has been optimized across all these environments.
WebLogicServer:
WebLogic Server is an application server: a platform for developing and deploying multitier
distributed enterprise applications. WebLogic Server centralizes application services such as Web
server functionality, business components, and access to backend enterprise systems. It uses
technologies such as caching and connection pooling to improve resource use and application
performance. WebLogic Server also provides enterprise-level security and powerful
administration facilities.
WebLogic Server operates in the middle tier of a multitier (or n-tier) architecture. A multitier
architecture determines where the software components that make up a computing system are
executed in relation to each other and to the hardware, network, and users. Choosing the best
location for each software component lets you develop applications faster; eases deployment

©2018 JMR Infotech — All rights reserved


5/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

and administration; and provides greater control over performance, utilization, security,
scalability, and reliability.
WebLogic Server implements J2EE, the Java Enterprise standard. Java is a network-savvy,
object-oriented programming language, and J2EE includes component technologies for
developing distributed objects. This functionality adds a second dimension to the WebLogic
Server application architecture—a layering of application logic, with each layer selectively
deployed among WebLogic Server J2EE technologies.

WebLogic components
• Domain:
o A domain is a top-level definition of an environment
o It contains all the shared configuration and resources for the managed servers
within the domain.
o It must have a single AdminServer
o It can have zero-to-many managed servers.
o Managed Servers can be clustered across multiple machines (HA).
o Can have all applications under a single domain or separate domains for different
functional areas.
• AdminServer:
o Provides web-based administration interface for the domain.
o Provides script-based administration using WebLogic Scripting Tool (WLST).
o Managed servers can run without it AdminServer, by using local configuration.
o When a managed server starts, it attempts to get the latest configuration from
the AdminServer

• Managed Server:
o The JVM that actually runs your app. (similar to OC4J)
o Applications can be deployed to one or more managed servers or to all managed
servers in a cluster.
o Managed servers can be clustered to improve high availability (HA).

• Node Manager:
o Optional Java process to help control managed servers. Script-based version
available, but don’t use it.
o Necessary when dealing with clusters spread across servers.
o Can use a single node manager per server. WebLogic 12c encourages
domain-specific node managers.

©2018 JMR Infotech — All rights reserved


6/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

2 Document Purpose
The purpose of this user manual and training document is to help the bank IT team to
understand, install and get hands on experience on the WebLogic Installation and Configuration

3 Scope of Work
The main objective is to install and configure WebLogic Application Server in Oracle FlexCube
Core Banking System. This objective is part of the main core banking system implementation
project.

3.1 JMRi Responsibilities


JMRi implementation engineers will be working from customer location as part of the main
project. Following activities will be performed to achieve this objective:
• Copying required software to the VM
• Checking prerequisites to install WebLogic
• JDK installation
• WebLogic (12.2.1.4.0) installation
• Creating WebLogic domain
• Creating managed server
• Creating NodeManager
• Assign managed server to the machine
• Starting and stopping all WebLogic servers

©2018 JMR Infotech — All rights reserved


7/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

4 Prerequisites
The following Software are needed to install WebLogic 12c:
• Java Development Kit (JDK) 1.8_updated 281
• Oracle Fusion Middleware Infrastructure 12.2.1.4.0
1. Download JDK for Linux x from below link:
https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-
downloads.html

Click on the item jdk-8u281-linux-x64.tar.gz to download and keep it in the below folder in server
➢ /u01/Oracle/

4.1 JDK Installation


Change directory to the folder where installer package is kept and execute below command:
# tar -zxvf jdk-8u281-linux-x64.tar.gz

The contents of the package will be extracted to the folder “jdk1.8.0_281”. Default java binary
need to be pointed to this package. Append the following entries into the
"/home/oracle/.bash_profile" file.
➢ export JAVA_HOME=/u01/Oracle/jdk1.8.0_281
➢ export PATH=$JAVA_HOME/bin:$PATH
Check the java version using below command.
# java –version
The output of above Command as shown below,

©2018 JMR Infotech — All rights reserved


8/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

©2018 JMR Infotech — All rights reserved


9/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

5 Oracle Fusion Middleware Infrastructure Installation


5.1 Prepare the server for Oracle Fusion Middleware Infrastructure Installation
As per the BSP environment below users and groups are needs be create in Activity Directory
Users: oracle
Groups: oracle

5.2 Creating the Fusion Middleware Infrastructure Home Directory


# mkdir -p /u01/Oracle/Middleware

5.3 Changing ownership and Privileges of Middleware Home Directory


# chown -R oracle:oracle /u01

# chmod -R 755 /u01

5.4 Start the installation


We need to connect through an X Manager interface to start the installation Graphical User
Interface (GUI). Mobaxterm is used here.
Change directory to the folder where installer package is stored and execute the following
command:
# java –jar fmw_12.2.1.4.0_infrastructure.jar

After a few seconds the splash screen will appear, followed by page 1 of the install wizard click
on Next

©2018 JMR Infotech — All rights reserved


10/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Select Skip Auto Updates and click Next

©2018 JMR Infotech — All rights reserved


11/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Provide Middleware Home path and click Next

©2018 JMR Infotech — All rights reserved


12/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Select Fusion Middleware Infrastructure and click Next

©2018 JMR Infotech — All rights reserved


13/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Make sure prerequisites are met and click Next

©2018 JMR Infotech — All rights reserved


14/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Click Install in Installation Summary screen

©2018 JMR Infotech — All rights reserved


15/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Make sure all installation steps are successful and click Next

©2018 JMR Infotech — All rights reserved


16/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Click Finish on the Installation Summary screen

©2018 JMR Infotech — All rights reserved


17/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

©2018 JMR Infotech — All rights reserved


18/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

6 Oracle WebLogic Domain Creation and Configuration


Navigate to $ORACLE_HOME/oracle_common/common/bin directory and execute configuration
script
# cd /u01/Oracle/Middleware/oracle_common/common/bin
# ./config.sh
Select Create New Domain, provide domain location and click Next
• Domain Location:
➢ /u01/Oracle/Middleware/user_projects/domains/DEV_****_DOMAIN

©2018 JMR Infotech — All rights reserved


19/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Use default template and click Next.

Provide Admin account name and password and click Next

©2018 JMR Infotech — All rights reserved


20/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Select Domain Mode as Production and JDK. Click Next

©2018 JMR Infotech — All rights reserved


21/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Select below components to configure and click Next


➢ Administration Server
➢ Node Manager
➢ Topology

©2018 JMR Infotech — All rights reserved


22/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Provide Admin Server Name, Listen Address and Port and click Next

©2018 JMR Infotech — All rights reserved


23/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Select “Per Domain Default Location”. Provide Node Manager Username and password. Click
Next

©2018 JMR Infotech — All rights reserved


24/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Add new Managed server by click on Add button and provide managed server name, IP, Port
etc.

©2018 JMR Infotech — All rights reserved


25/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Click Next on the Clusters screen

©2018 JMR Infotech — All rights reserved


26/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Select “Machine” tab and add a new machine as per below screenshot and click Next

©2018 JMR Infotech — All rights reserved


27/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Assign managed server to DEV_****_Machine and click Next

©2018 JMR Infotech — All rights reserved


28/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Click next on Virtual targets screen

©2018 JMR Infotech — All rights reserved


29/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Click next on partitions screen

©2018 JMR Infotech — All rights reserved


30/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Click Create on Configuration summery screen.

©2018 JMR Infotech — All rights reserved


31/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Make sure Domain Creation is successful and click Next

©2018 JMR Infotech — All rights reserved


32/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

Click Finish on the End of Configuration screen

©2018 JMR Infotech — All rights reserved


33/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

©2018 JMR Infotech — All rights reserved


34/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

7 Starting and Stopping WebLogic Servers


Log in to Putty using WebLogic server username & Password.

7.1 Start WebLogic Admin Server


1. Navigate to WebLogic domain location using below command

# cd /u01/Oracle/Middleware/user_projects/domains/DEV_***_DOMAIN/bin
2. Start Admin server using below command

# nohup ./startWebLogic.sh &

3. To see output execute following command and check it’s running mode or not.

# tail –f nohup.out

7.2 Start NodeManager Server


Start Node Manager using below command

# nohup ./startNodeManager.sh &

7.3 Stop NodeManager Server


Stop Node Manager using below command

# ./stopNodeManager.sh

7.4 Stop WebLogic Admin Server


Stop Admin server using below command

# ./stopWebLogic.sh

©2018 JMR Infotech — All rights reserved


35/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

8 WebLogic Administration
Access WebLogic Admin Console using below URL
http://10.0.0.7:7001/console
WebLogic Administration Console Login Page. Login to console using WebLogic Admin username
and password

©2018 JMR Infotech — All rights reserved


36/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

WebLogic Administration Console Home Page

8.1 Start Managed Servers


Start any Managed server from Control tab from console.
➢ Navigate to Environment -> Servers -> Control

©2018 JMR Infotech — All rights reserved


37/38
Confidential & Restricted Circulation
Version 1.0

As Build Documents Oracle WebLogic Installation and Configuration

8.2 Stop Managed Servers


Stop any Managed server from Control tab from console.
➢ Navigate to Environment -> Servers -> Control, then click on "Shutdown" button
and select "Force shutdown now" from drop down list.

End of Document

©2018 JMR Infotech — All rights reserved


38/38
Confidential & Restricted Circulation

You might also like