Thursday, February 19, 2015

How to find Weblogic server version information

6 Ways to get Oracle WebLogic Server Version information

You may check WebLogic Version by various ways that depends on your convenience and access provided to you.

First of all I would like to tell the easiest method to get this done by Console
(May be you think it is not challenging to you… go down to get actual one ……………………  J J )

In bottom left of the console login page you will get version info of WebLogic installed.


If you don’t have access to Console of WebLogic then use following points to get version details

Method: 1)   From registry.xml available under the MW_HOME (middleware home)

Path: - $MW_HOME/registry.xml

You may open this file and search the XML element <component name=”Weblogic Server” version=”” ……          …….             …..>

Here version is “” is given.

 Method: 2)   From Admin Server log file, you may get the detail of installed WebLogic version

Path: - $Domain_HOME/server/AdminServer/logs/AdminServer.log

In AdminServer.log file you may get WebLogic Server version details as it is printed once server is started.

Method: 3) By Java class weblogic.version

Path: - $WL_HOME/server/lib

Here you will get weblogic.jar file. By using below command you will get version info

$ java –cp weblogic.jar weblogic.version

You will see below output :-

WebLogic Server  Fri Feb 17 20:47:33 PST 2015 1384255
Use ‘weblogic.version -verbose’ to get subsystem information

Method: 4) you may look for Config.xml file available under domain home in WebLogic installation.

Path: - $Domain_HOME/config/config.xml

Method: 5) Using command line :-

$ java weblogic.version

For more detail or subsystem details –

$ java weblogic.version -verboose

Note: - if above commands will not work and you get Error : No class found or could not load…..
Then you have set JAVA_HOME to JRockit or BEA Java Not the OS provided or installed.

You may check which Java you are using on box by following command:-

$ which java

If you get OS installed java then use method-3.

Method: 6) Using WLST script to get WebLogic version: -

Path to invoke WLST prompt: -  $ ML_HOME/wl_server_x.x.x/common/bin/

Wlst/offline> version

FYI snap shot

Thursday, February 12, 2015

Weblogic Server 12c installation in Console mode on Linux Platform

        1.    Introduction

WebLogic Server is an application server proprietary of Oracle Inc. USA. It is a middle ware application server using for 3 tier architecture in Application development. It is based on Sun Java (JDK) engine and  supports web and enterprise application like WAR, EAR and Jar deployments.

        2.    WebLogic Installation

        2.1           Pre-Requisites & Recommendation

         Appropriate JDK should be installed on each box where WebLogic installation will be done. For WebLogic 12c, Java jdk 1.7 should be installed and Environmental variables like “PATH” &  “JAVA_HOME” should be set properly.
·         Download the package installer from and place “wls1211_generic64.jar” file under the installation directory.

Example: - /home/user/oracle

·         Check Java version is installed or not by below command :

$ java –version

·         Before going to install Weblogic, Please lsit down following attributes and their values

-          Host Name or IP Address  ( Where installation has to be done )
-          Admin & SSL Port     ( By Default Admin 7001 & SSL 7002 )
-          Environment Variables like JAVA_HOME, PATH, BEA_HOME, ML_HOME
-          Names for Admin server, Manage Server and cluster , Domain
-          Directory Structure for Domain and middleware home
-          Database details like host name, port, SID  ( Optional )
-          JDBC Data source, Node Manager, Deployments  ( Optional )

     2.2           Installation Steps

     Step 1:  Use below command to run installation in console mode.

                                $ java –jar WLSxxx_generic.jar

       Above command will extract the installer in console mode on Linux screen.  Welcome screen will come and user has to press “Next”

Step 2:  Choose Middleware Home and press next

If User wants to change the Middleware Home press “1” and provide new value, then “Next”

Step 3:  Security Updates:  Press “3” and pass the value “NO”, then “Next”


Step 4:  Choose Install Type:  Press “2” >>> Enter >>> Next >>> Enter

Step 5:  Choose Installation Product:  Select WebLogic Server Only, By passing “2”

Step 6:  Choose JDK: - installation product will show locally installed JAVA with “2” position.
Enter value “2” and type “Next” >> > Press Enter

  Step 7:  Check the Middleware Home and WebLogic Server location and note down it for future reference.  Type “Next” and Press “Enter”

Step 8:  Type “Next” and Press Enter

  Step 9: Installation will start and complete with confirmation message on screen.

Step 10: Domain Creation:- 

Go to ML_HOME/common/bin 

Example: -   $ cd /home/user/oracle/middleware/wlserver_12.1/common/bin

And run “” file with below command

  $ ./ 

By selecting option “1” as create a new WebLogic domain, type “Next “and Enter

Step 11: Type “Next” and Enter until Installer will ask for Domain name as below

Type the Domain Name >>> Enter >>> Next >>> Enter >> On Next Screen provide the domain home path.

Step 12: By selecting the numbers, provide the value for username and passwords. Then type “Next” and press Enter.

Step 13: Next Screen will ask for Mode for Domain configuration as below
       1>    -- Development Mode
       2>    -- Production Mode
  Pass the value for Development mode (“1”). User may change mode after installation also.
   On the next screen, select appropriate JDK bundle and do next.

Step 14:  Select the Optional Configuration

AS of now do enter value “1”, User may create cluster, manage servers and machines by console in the browser.

Step 15: Configure Admin Server properties

Type “1” >>> press Enter and Provide Admin Server Name. Perform this for all the options.

Step16: Creating Domain

Process will start and show up to 100% and show confirmation message on screen.

Step17: Start the Admin Server by following command
         $ cd /home/user/oracle/middleware/Domain/bin
         $ ./ & (Here “&” is used to run the process in background)

Note: - If user is performing installation for clustering mode, then perform all above 13 steps for the each Linux box that is included in Cluster. Steps 14 and 15 should be performed only on the Admin server box not on the other machines.


 2.3           WebLogic Console
   2.3.1     Open browser and type the below URL


     Example: - http://localhost:7001/console

     Pass Username and Password

1.1.1     Domain Structure

By Domain structure tree, User can navigate to whole pages of Weblogic console and do necessary configuration as per requirement.