Search This Blog

Friday, 10 April 2015

01.a. Installation of WebLogic Server 12c on Unix and Linux platforms

The beginning of the WebLogic Administration practical work with installation of WebLogic software. Before you began, you must aware per-requisites for installation and also how you can proceed for the installation.  This blog post is specially for newbies who just began learning WebLogic.

Determining supported configurations for WebLogic Server

Software requirements
There are many Java vendors according to your platform you need to select specific Java. every WebLogic release version is publishing a certificate matrix which will tell you what platform versions it support and which JDK version you need to use for WebLogic installation.
  • Sun/Oracle HotSpot JDK
  • Oracle JRockit
  • HP JDK
Example Certificate Matrix Reference
WebLogic 12.1.3 certificate matrix

Hardware Requirements
  • 512 MB RAM
  • 20 GB HDD
  • CPU 300 MHz
  • i3 or above processors Amd

Installation modes

WebLogic server 12c can be installed in two ways
  • Silent mode installation
  • GUI mode installation

WebLogic 12.1.3 silent mode installation on Ubuntu

1. What is silent mode installation? And why?
This is the initial setup required to learn WebLogic Administrator. If you unable to do silently you are unfit for the production environment setup. Silent-mode installation allows us to define an installation configuration only once and then use the configuration to duplicate the installation on many machines. During installation in silent mode, the installation program reads the inputs for desired settings up configuration from an silent response file that you must prepare before beginning the installation. The installation program does not display any configuration options during the installation process. Silent-mode installation works on both Windows and Linux and UNIX systems also.

WebLogic 12c silent mode installation

Major Benefits
  • Less time of execution of installation process 
  • Cloud ready platforms use this method most often
  • This process can be used in configuration tools such as chef, puppet etc 
  •  Easy to install in multiple machines/Production environments
  •  No need of X11 or Mouse clicks!!
Java Installation
Step 1: JDK installation

You can download JDK from Oracle Technical Network (OTN)  Link
 We have two choices to install JDK on a Linux platform:
1. Common for any Linux platform: tar.gz file
tar -zxvf /u01/app/software/jdk*.gz


2. Alternative in the Ubuntu box as follows:
To install WebLogic server in silent mode installation first we have to install JDK in the Ubuntu.
  1. sudo add-apt-repository ppa:webupd8team/java
  2. sudo apt-get update
  3. sudo apt-get install oracle-java7-installer
Step 2: Set Environment variables in bash profile
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
export PATH=$PATH:$JAVA_HOME/bin
export MW_HOME=/u01/app/oracle/fmw/oraclehome
export WL_HOME=$MW_HOME/wlserver
export CLASSPATH=$WL_HOME/server/lib/weblogic.jar:.

alias wlst="$MW_HOME/oracle_common/common/bin/"
Step 3:Download WebLogic server 12.1.3 Generic file from download link.

Steps involved in silent mode installation

Step 4:Create a directory “silent” and copy the wls.jar file to this directory. mkdir silent
Step 5:Go to the silent directory by using cd silent/
Step 6:Create a file oraInst.loc file in silent directory as follow as: vi oraInst.loc And insert inventory location and installation group as follow as
Step 7:Create response file and insert below things in the response file
Response File Version=
INSTALL_TYPE=WebLogic Server

You could edit the ORACLE_HOME as you change versions and also

There could be multiple options for INSTALLATION_TYPE:

  1. WebLogic Server
  2. Coherence
  3. Complete with Examples
  4. Fusion Middleware Infrastructure [Infrastructure domains]
  5. Fusion Middleware Infrastructure with Examples [for Restricted JRF, EM domains]

Please remove the 15 line  that is  two tags

Step 7: Go to the wls.jar location ie in silent directory and insert the following command

java -jar /u01/app/software/fmw_12*_wls.jar \
-silent -invPtrLoc /u01/app/oracle/silent/oraInst.loc \
-responseFile /u01/app/oracle/silent/responsefile.rsp

Step 8: Check WebLogic server is installed in mention location or not


 Easy once you worked on this procedure you can work on SOA, OSB, ADF and any Oracle Fusion Middleware products.
The above work is for 12.1.3 version which is older version of 12c!

WebLogic 12.2.1 installation in silent mode

The latest version of 12c is lets enjoy the new features of WebLogic on Vagrant box here I am executed the installer without matching the certificate matrix. So two of them are not satisfied

  1. Ubuntu Linux
  2. JDK 1.8.0_51 is expected provided 1.8.0_45 

oracle@mydev:/u01/app/software$ java -jar fmw_12. -silent -invPtrLoc /home/oracle/silent/oraInst.loc -response /home/oracle/silent/responsefile.rsp
Launcher log file is /tmp/OraInstall2015-10-30_01-30-57AM/launcher2015-10-30_01-30-57AM.log.
Option "-response" is deprecated; use "-responseFile" instead.
Extracting files................................
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2592.418 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 767 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 72517 MB    Passed

Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2015-10-30_01-30-57AM
Log: /tmp/OraInstall2015-10-30_01-30-57AM/install2015-10-30_01-30-57AM.log
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
SEVERE:OUI-10054:Unable to modify the group ownership of the OUI inventory to the requested group name "vagrant". Either the specified group doesnt exist, or the current userid does not belong to that group. If the group exists, you may run the shell script {1} as root to change the group name after installation is complete.
Starting check : CertifiedVersions
sh: 1: /bin/rpm: not found
Check complete. The overall result of this check is: Not executed <<<<
Warning: Check:CertifiedVersions completed with warnings.

Starting check : CheckJDKVersion
Problem: This JDK version was not certified at the time it was made generally available. It may have been certified following general availability.

Recommendation: Check the Supported System Configurations Guide ( for further details. Press "Next" if you wish to continue.

Expected result: 1.8.0_51
Actual result: 1.8.0_45
Warning: Check:CheckJDKVersion completed with warnings.

Validations are enabled for this session.
Verifying data
Copying Files

...............................................................  38% Done.
...............................................................  76% Done.
Installation in progress (Friday, October 30, 2015 1:32:39 AM UTC)
                                                            79% Done.
Install successful

Linking in progress (Friday, October 30, 2015 1:33:07 AM UTC)
Link successful

Setup in progress (Friday, October 30, 2015 1:33:07 AM UTC)
Setup successful

Saving inventory (Friday, October 30, 2015 1:33:08 AM UTC)
Saving inventory complete

End of install phases.(Friday, October 30, 2015 1:33:08 AM UTC)
Percent Complete : 100

The installation of Oracle Fusion Middleware 12c WebLogic Server and Coherence completed successfully.
Logs successfully copied to /home/oracle/oraInventory/logs.

Quiz time

When installing Oracle Weblogic Server 11g with the graphical installer, which three statements are true?
A. You must choose either a typical or a custom installation.
B. You install under Microsoft Windows because the graphical installer is available only for Window C. You may create a new middleware home directory or choose an existing one.
D. You must register for critical security updates.
E. You may install a JDK or choose one that was previously installed.

WebLogic Books

  • Oracle WebLogic Server 12c: Administration Handbook
  • WebLogic Diagnostic Framework
  • Advanced WebLogic Server Automation
  • Oracle SOA Suite 11g Administrator's Handbook

Popular Posts