Notes on Webcenter PS4 Install – Part I


Introduction

Oracle release the Webcenter Patchset 4 (PS4),  version 11.1.15, recently and I am in the process of installing/testing this product. I am going to document my observations for future reference and hope it helps out others in the process.

Download files here: http://www.oracle.com/technetwork/middleware/webcenter/downloads/index.html

Read Oracle’s Documentation here: http://download.oracle.com/docs/cd/E21764_01/install.1111/b32474/start.htm#ASINS101

The Process…

The process is quite simple, I download Installers from Oracle’s Middleware/Webcenter site, selected the appropriate version and ran them on Oracle Enterprise Linux (OEL) version 6.0 … the OEL version here is the important part because there were a few issues related to the PS4 installers and OEL v6.

Anyways, here is what I downloaded

  • wls1035_linux32.bin – Oracle WebLogic Server 11g R1 (10.3.5)
    • Update: I should not used this. Turns out I was given a 64bit JVM and the “rcu exception in thread “main” java.lang.unsatisfiedlinkerror”  is the symptom for it
  • ofm_rcu_linux_11.1.1.5.0_disk1_1of1.zip – 11.1.1.5 RCU (I got the 32 bit one first and then the 64 bit one and both were named the same)
  • ofm_wc_generic_11.1.1.5.0_disk1_1of1.zip – Generic Oracle WebCenter Release 11g R1 (11.1.1.5.0)

I have a virtual machine, as mentioned earlier… VM: OEL 6

And another VM with the database … DB: Oracle 11g

Before you start….

Check you Linux install has the right libraries (see Appendix-A). There seems to be an issue with the X11 libraries and the RCU installer. Do a “rpm -qa” and grep for “X11”
make sure you have the i386 libaries or else you will see the following error (“blah blah libXext.so.6 is missing”)

Failed to initialize logger with location :/home/oracle/tmp/rcuHome/rcu/log/logdir.2011-05-26_00-01/rcu.log
Initializing logger using the following location :/tmp/logdir.2011-05-26_00-01/rcu.log
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/oracle/tmp/rcuHome/jdk/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)

This issue was fixed by going back to the DVD installer and selecting additional libraries for the 64bit OEL 6 install.

Finally once you have the right library, if you do not have your X11 stuff setup you will get the following errors:

[oracle@pdemora140rhv bin]$ ./rcu
Failed to initialize logger with location :/home/oracle/tmp/rcuHome/rcu/log/logdir.2011-05-26_22-07/rcu.log
Initializing logger using the following location :/tmp/logdir.2011-05-26_22-07/rcu.log
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'xx.xx.xx.xxx:0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

Setup your DISPLAY in the following manner

  • Get an XServer, Install and Run it . Example: Get XMING
  • (See Related Blog Post Here: )

  • Goto your “rcuHome/bin” and do “./rcu

Running the installers ….

Download:  So earlier we downloaded the following

wls1035_linux32.bin – Oracle WebLogic Server 11g R1 (10.3.5)
ofm_rcu_linux_11.1.1.5.0_disk1_1of1.zip – 11.1.1.5 RCU (I got the 32 bit one first and then the 64 bit one and both were named the same)
ofm_wc_generic_11.1.1.5.0_disk1_1of1.zip – Generic Oracle WebCenter Release 11g R1 (11.1.1.5.0)

Now we can begin moving, extracting and installing. Start with the Weblogic Server, then run the RCU tool and finally install Webcenter.

      1.  SCP:  Move the downloaded files to your VM using SCP (I put them under /home/oracle/tmp) and unzip (simply use “unzip filename.zip”)
      2. Change Permissions: Make the WLS Installer Executable  chmod +x wls1035_linux32.bin
      3. Run: the installer “./wls1035_linux32.bin”
      4. Check: This should create the weblogic home with the following structure
 drwxr-x---. 6 oracle oracle  4096 May 25 21:13 coherence_3.6
 drwxr-x---. 9 oracle oracle  4096 May 25 21:13 wlserver_10.3
 drwxr-x---. 9 oracle oracle  4096 May 25 21:13 .
 drwxr-x---. 2 oracle oracle  4096 May 25 21:13 logs
 -rw-r-----. 1 oracle oracle    32 May 25 21:13 .home
 -rw-r-----. 1 oracle oracle  2627 May 25 21:13 registry.xml
 -rw-r-----. 1 oracle oracle 87384 May 25 21:13 registry.dat
 -rw-r-----. 1 oracle oracle   623 May 25 21:13 ocm.rsp
 drwxr-x---. 7 oracle oracle  4096 May 25 21:12 jrockit_160_24_D1.1.2-4
 drwxr-x---. 7 oracle oracle  4096 May 25 21:12 jdk160_24
 drwxr-x---. 8 oracle oracle  4096 May 25 21:11 utils
 -rw-rw----. 1 oracle oracle   133 May 25 21:09 domain-registry.xml
 drwxr-x---. 7 oracle oracle 32768 May 25 21:08 modules
 drwxrwxr-x. 3 oracle oracle  4096 May 25 20:21 ..

Install the Webcenter/UCM schemas using the RCU tool….

RCU – Screen 2 :

Error with bad service name:  If you don’t know your service name, go to you DB server and do “tnsping”. For example, my DBA created the schema with a SID of “appdev” but a  “tnsping appdev” revealed that the SID was different

[oracle@myhost~]$ tnsping appdev

TNS Ping Utility for Linux: Version 11.2.0.1.0 – Production on 26-MAY-2011 15:55:44

Copyright (c) 1997, 2009, Oracle.  All rights reserved.

Used parameter files:
/data/Oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.env.company.com.  au)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = appdev.env.company.com.au)))
OK (0 msec)

Ignoring the “non-AL32UTF8” error


RCU – Screen 3

Select the Schemas to install – OCS and Webcenter

Error with Webcenter – “PROCESSES” is too low

-------------------------------------------------------------------------------------------------------------
ERROR In RCU Tool:
-------------------------------------------------------------------------------------------------------------
RCU-6083:Failed - Check prerequisites requirement for selected component:WEBCENTER
Please refer to RCU log at /tmp/logdir.2011-05-26_23-37/rcu.log for details.
Error: Oracle Initialization Parameter 'PROCESSES' is too low.
           Cause: The Oracle Initialization Parameter 'PROCESSES' must be at least 200.
           Action: Change the Database Initialization Parameter 'PROCESSES' to 200 or more, then rerun RCU.

RCU-6092:Component Selection validation failed. Please refer to log at /tmp/logdir.2011-05-26_23-37/rcu.log for details.
-------------------------------------------------------------------------------------------------------------

Fix:
-------------------------------------------------------------------------------------------------------------
SSH: <to my DB server>
Details: Fix the too low processes
From: http://learnersreference.com/rcu-6083failed-check-prerequisites-requirement-for-selected-componentwebcenter-please-refer-to-rcu-log/
--------------------------------------------------------------------------------------------------------------

[oracle@xxxxxx~]$ sqlplus system/xxxxxx@appdev
SQL*Plus: Release 11.2.0.1.0 Production on Thu May 26 16:06:45 2011

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show parameter processes

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes                      integer     0
db_writer_processes                  integer     1
gcs_server_processes                 integer     0
global_txn_processes                 integer     1
job_queue_processes                  integer     1000
log_archive_max_processes            integer     4
processes                            integer     150

SQL> alter system set processes=500 scope=both;
alter system set processes=500 scope=both
                 *
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified

SQL> show parameter processes

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes                      integer     0
db_writer_processes                  integer     1
gcs_server_processes                 integer     0
global_txn_processes                 integer     1
job_queue_processes                  integer     1000
log_archive_max_processes            integer     4
processes                            integer     150
SQL> alter system set processes=500 scope=spfile;

System altered.

SQL> shutdown immediate;

Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> SQL> SQL>
SQL>
SQL>
SQL> startup

RCU – Screen 4

Select the schema password, I chose to keep the same password for all schemas

RCU – Screen 5

RCU – Screen 6

Tables for the PS4 schema

Create Tablespaces – OK/CANCEL Dialog. Select “OK”

RCU – Screen 7

RCU – Screen 8

Completion Summary

Appendix – A: OEL Libraries for X11

[oracle@pdemora140rhv Packages]$ rpm -qa|grep -y x11
xorg-x11-drv-ati-firmware-6.13.0-6.el6.noarch
xorg-x11-server-common-1.7.7-26.el6.x86_64
xorg-x11-drv-void-1.3.0-4.el6.x86_64
xorg-x11-drv-intel-2.11.0-7.el6.x86_64
xorg-x11-drv-sis-0.10.2-1.1.el6.x86_64
xorg-x11-drv-s3virge-1.10.4-1.1.el6.x86_64
xorg-x11-drv-vmware-10.16.7-2.1.el6.x86_64
xorg-x11-drv-openchrome-0.2.904-1.el6.x86_64
xorg-x11-drv-mga-1.4.12-2.el6.x86_64
xorg-x11-drv-sisusb-0.9.3-1.1.el6.x86_64
xorg-x11-drv-penmount-1.4.0-5.el6.x86_64
xorg-x11-drv-ast-0.89.9-1.1.el6.x86_64
xorg-x11-drv-savage-2.3.1-1.1.el6.x86_64
ConsoleKit-x11-0.4.1-3.el6.x86_64
xorg-x11-xinit-1.0.9-13.el6.x86_64
xorg-x11-server-Xorg-1.7.7-26.el6.x86_64
xorg-x11-drv-synaptics-1.2.1-5.el6.x86_64
xorg-x11-drv-vmmouse-12.6.5-3.el6.x86_64
xorg-x11-drv-cirrus-1.3.2-1.1.el6.x86_64
xorg-x11-drv-siliconmotion-1.7.3-1.1.el6.x86_64
xorg-x11-drv-nv-2.1.15-4.el6.x86_64
xorg-x11-drv-mutouch-1.2.1-5.el6.x86_64
xorg-x11-drv-nouveau-0.0.16-8.20100423git13c1043.el6.x86_64
xorg-x11-drv-ati-6.13.0-6.el6.x86_64
xorg-x11-drv-mach64-6.8.2-1.1.el6.x86_64
xorg-x11-drv-keyboard-1.4.0-3.el6.x86_64
pulseaudio-module-x11-0.9.21-13.el6.x86_64
xorg-x11-utils-7.4-8.el6.x86_64
libX11-common-1.3-2.el6.noarch
xorg-x11-xkb-utils-7.4-6.el6.x86_64
xorg-x11-xauth-1.0.2-7.1.el6.x86_64
xorg-x11-drv-vesa-2.3.0-1.el6.x86_64
xorg-x11-drv-r128-6.8.1-2.el6.x86_64
xorg-x11-drv-trident-1.3.3-1.1.el6.x86_64
xorg-x11-drv-aiptek-1.3.0-2.el6.x86_64
xorg-x11-drv-tdfx-1.4.3-1.1.el6.x86_64
xorg-x11-drv-dummy-0.3.3-1.el6.x86_64
xorg-x11-drv-glint-1.2.4-1.1.el6.x86_64
xorg-x11-drv-elographics-1.2.3-5.el6.x86_64
xorg-x11-drv-fbdev-0.4.2-1.el6.x86_64
xorg-x11-drv-mouse-1.5.0-4.el6.x86_64
xorg-x11-drv-fpit-1.3.0-5.el6.x86_64
libX11-1.3-2.el6.x86_64
libX11-1.3-2.el6.i686
xorg-x11-drv-wacom-0.10.5-6.el6.x86_64
xorg-x11-drv-acecad-1.4.0-2.el6.x86_64
xorg-x11-drv-apm-1.2.2-1.1.el6.x86_64
xorg-x11-drv-hyperpen-1.3.0-4.el6.x86_64
xorg-x11-drv-i128-1.3.3-1.1.el6.x86_64
dbus-x11-1.2.24-3.el6.x86_64
xorg-x11-server-utils-7.4-15.el6.x86_64
xorg-x11-drivers-7.3-13.2.el6.x86_64
xorg-x11-drv-evdev-2.3.2-8.el6.x86_64
xorg-x11-drv-voodoo-1.2.3-1.1.el6.x86_64
xorg-x11-drv-qxl-0.0.12-2.1.el6.x86_64
xorg-x11-drv-v4l-0.2.0-3.el6.3.x86_64
xorg-x11-drv-rendition-4.2.2-4.1.el6.x86_64
xorg-x11-drv-i740-1.3.2-1.1.el6.x86_64

4 Comments

  1. Edgar Galván says:

    Hi there, which library would I choose from the DVD?

    Thanks 🙂

    Like

  2. Suresh says:

    Thanks a lot !!!!!! especially for handily the error senarios

    Like

  3. Vik says:

    Can you suggest me how to achive this:
    1) Which RCU to use while installing on Solaris.
    2)If i want to put the all manage server in a separate box.

    Like

  4. Ashish says:

    Thanks a lot,it was indeed good.

    Like

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s