David Ghedini

Linux, Java, Oracle, and PostgreSQL

David Ghedini

Friday Jul 27, 2012

Oracle Weblogic 12c (12.1.1) Generic x64 on CentOS 6

Oracle Weblogic 12c (12.1.1) Generic Installer x64 on CentOS 6

This post will cover installing Oracle Weblogic 12c (12.1.1) Generic Installer x64 (wls1211_generic.jar) on 64 bit CentOS 6 for evaluation.

Before investing any time in this, despite a fresh download you will need,.... a patch: (p13606167_12110_Generic.zip).

I am installing this remotely, if you are doing the same, you can see my post on VNC on CentOS 6

If not, the proceedure is identical.

Step 1. Create the user who will own WLS

Create a user 'oracle' and group dba.

[root@demo ~]# groupadd dba
[root@demo ~]# useradd -g dba oracle
[root@demo ~]# passwd oracle
Changing password for user oracle.
New password:

Retype new password:

passwd: all authentication tokens updated successfully.
[root@demo ~]#

Step 2. Download jdk-7u5-linux-x64.tar.gz and Install.

Oracle recommends JRockit for Production Mode and JDK 1.7 for Development Mode.

Start by making a home for JAVA.

Ill create mine under /usr/java

[root@demo ~]# mkdir /usr/java

Download jdk-7u5-linux-x64.tar.gz to the /usr/java directory
[root@demo java]# ls

Extract it:

[root@demo java]# tar -zxf jdk-7u5-linux-x64.tar.gz

This will create a directory, jdk.17.0_05 under /usr/java:

[root@demo java]# ls
jdk1.7.0_05  jdk-7u5-linux-x64.tar.gz

This will be our JAVA_HOME: /usr/java/jdk1.7.0_05

(You can now remove jdk-7u5-linux-x64.tar.gz using rm -f jdk-7u5-linux-x64.tar.gz).

3. Put JAVA into the path of user oracle.

Add the following to bash profile for user oracle

export JAVA_HOME
export PATH

Make it available now:

[root@demo jdk1.7.0_05]# source ~/.bash_profile

4. Check Java is in oracle's path:

Switch to the user oracle and verify that Java is now in the path of oracle by issuing 'java -version'

[root@demo jdk1.7.0_05]# su - oracle
[oracle@demo ~]$ java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
[oracle@demo ~]$

5. Make a home for Weblogic

[root@demo ~]# mkdir /home/weblogic

Make the user oracle the owner:

[root@demo ~]# chown oracle:dba /home/weblogic

6. Download wls1211_generic.jar

Download wls1211_generic.jar from either of these locations:



7. Install wls1211_generic.jar

Here is the short version:

1. su - oracle

2. Go to the location where you donwnloaded wls1211_generic.jar (I've downloaded it to /home)

3. Issue:

java -jar -Xmx1024m -XX:MaxPermSize=512M  wls1211_generic.jar

Important: if you do not set PermSize as well as Xmx, your install will fail with Out of Memory errors.

I had a dozen screen shots for all of this but decided in to just make a mp4 and upload it to YouTube.

My apologies for the quality and (lack of) editing of the video; it's my first video using demo-builder.

If you expand the video to full screen mode you will be able to see the terminal (sort of).

Part I Install wls1211_generic.jar:

Part II Create a domain and Admin user credentials:


As you can see from Part II, once we started the domain, we ran into:

WARNING: Input Action on WSDL operation AbortedOperation and @Action on its associated Web Method abortedOperation did not match and will cause problems in dispatching the requests
Jul 22, 2012 6:10:39 AM com.sun.xml.ws.model.JavaMethodImpl freeze

This required us to install p13606167_12110_Generic.zip as shown in the video

In the video, I installed it on offline mode.

To see how to apply in online mode, see: http://weblogic-wonders.com/weblogic/2010/12/03/methods-to-apply-patches-in-weblogic-server/

Starting the Domain

As shown above, we start the domain by going to the domain's directory and issuing './startWebLogic.sh'

[oracle@demo ~]$ cd /home/weblogic/user_projects/domains/david

Start it :

[oracle@demo david]$ ./startWebLogic.sh

I hope this was helpul.....


Bookmark and Share

Main Menu

Built With




Tag Cloud

Hosted by:




petiole Cloud