WebLogic Server 11g (10.3.6) installation

First of all, I’m assuming here that the “oracle” user, groups etc. have already been created here.  If not, take a look at “Create oracle user and groups” under my Linux installation post here.

I’m using the WebLogic 11gR1 generic package installer (which is used for all 64-bit platforms) to do this installation on Linux 6.4, with the Oracle JRockit 6 JDK.  If you’re using a 32-bit package installer, this will already contain the appropriate JDK.

JRockit JDK install

To install JRockit, download the latest Linux x86-64 version here, then make the file executable and run it:

cd /u01/app/oracle/software
chmod +x jrockit-jdk1.6.0_37-R28.2.5-4.1.0-linux-x64.bin
./jrockit-jdk1.6.0_37-R28.2.5-4.1.0-linux-x64.bin

Once the GUI starts, respond as follows:

  • Welcome
    • Next
  • Product Installation Directory
    • /u01/app/oracle/middleware/jrockit-jdk1.6.0_37-R28.2.5-4.1.0
    • Next
  • Optional Components
    • Ignore the optional components (Demos and Samples, Source Code)
    • Next
  • Installation Complete
    • Done

Now set your environment and make sure Java is referencing the JRockit JDK:

export JAVA_HOME=/u01/app/oracle/middleware/jrockit-jdk1.6.0_37-R28.2.5-4.1.0
export PATH=$JAVA_HOME/bin:$PATH
which java
/u01/app/oracle/middleware/jrockit-jdk1.6.0_37-R28.2.5-4.1.0/bin/java

Start the WebLogic install

You can download the wls1036_generic.jar file here.

Start up the installer:

cd /u01/app/oracle/software
$JAVA_HOME/bin/java -d64 -Xmx1024m -jar wls1036_generic.jar
Extracting 0%.............

NOTE:  You need to use the -d64 flag above when using 32/64-bit hybrid JDKs, but I specify it just in case here ;)

Once the GUI starts, respond as follows:

  • Welcome
    • Next
  • Choose Middleware Home Directory
    • Create a new Middleware Home
    • Middleware Home Directory: /u01/app/oracle/middleware
    • Next
    • Accept the warning about the directory not being empty, click Yes
  • Register for Security Updates
    • Uncheck ‘I wish to receive security updates via My Oracle Support’
    • Confirm you wish to bypass this, click Yes
      • There is a known bug within the installer at this stage.  If you get caught in a loop where you cannot bypass this, leave the box ticked and click Yes and Yes again.
      • When the ‘Connection failed’ dialog appears, tick the ‘I wish to remain uninformed…’ box, then Continue and you should then make it to the next screen!
    • Next
  • Choose Install Type
    • Custom
    • Next
  • Choose Products and Components
    • Untick the ‘Oracle Coherence’ option (unless you plan to use it)
    • Next
  • JDK Selection
    • Local JDK: Oracle 1.6.0_37 (your JRockit JDK installation)
    • Next
  • Choose Product Installation Directories
    • WebLogic Server: /u01/app/oracle/middleware/wls_10.3.6
    • Next
  • Installation Summary
    • Next to install
  • Installation Complete
    • Once the installation has finished, remove the tick next to ‘Run Quickstart’
    • Done

Update your oracle profile or create an environment file with the following:

vi ~/set_wls11.env
# WebLogic 11g environment file
export JAVA_HOME=/u01/app/oracle/middleware/jrockit-jdk1.6.0_37-R28.2.5-4.1.0
export PATH=$JAVA_HOME/bin:$PATH
export MW_HOME=/u01/app/oracle/middleware
export WLS_HOME=$MW_HOME/wls_10.3.6

Set your environment with the new settings:

. ./set_wls11.env

Apply the latest WebLogic PSU (10.3.6.0.3) – optional

Patch ID: HYKC
Patch No: 14736139

Download the patch from MOS (no OPatch utility required).

Create the cache_dir and unzip the patch:

mkdir $MW_HOME/utils/bsu/cache_dir
cd $MW_HOME/utils/bsu/cache_dir
cp /u01/app/oracle/software/p14736139_1036_Generic.zip $MW_HOME/utils/bsu/cache_dir
unzip p14736139_1036_Generic.zip

Install the patch using the Smart Update command utility:

cd $MW_HOME/utils/bsu
./bsu.sh -install -patch_download_dir=$MW_HOME/utils/bsu/cache_dir -patchlist=HYKC -prod_dir=$WLS_HOME

Restart any WebLogic servers that are running to pick up the PSU changes.

Check the PSU version:

. $WLS_HOME/server/bin/setWLSEnv.sh
java weblogic.version|grep PSU
WebLogic Server 10.3.6.0.3 PSU Patch for BUG14736139 Fri Mar 22 10:16:54 IST 2012

That’s it, WebLogic is installed and patched up-to-date, ready for creation of your domain(s).

Related posts:
Creating a Domain in WebLogic (11g/12c)
Creating a Clustered Domain in WebLogic 11g

2 thoughts on “WebLogic Server 11g (10.3.6) installation

Leave a comment

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>