Oracle Weblogic Server 12c and JDK

Oracle WebLogic Server is certified for use with JDK 8.0. Supported Oracle WebLogic Server clients are certified for use with JDK 7.0 and JDK 8.0 Update 40.


Autoconfig On Db Tier Fails With Error – SP2-1503: Unable to initialize Oracle call interface

Oracle Applications on Solaris 5.10 64bit SPARC

Oracle Application Database 10gR2 ( upgraded to Oracle Database using Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0) [ID 881505.1].

Issue encountered while executing adconfig in the end:

Enter the full path to the Context file: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/myinstance_myserver.xml
Enter the APPS user password:
The log file for this session is located at: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/log/myinstance_myserver/07300952/adconfig.log

AutoConfig is configuring the Database environment...

AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1
Classpath                   : /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdk/jre/lib/rt.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdk/lib/dt.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdk/lib/tools.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdbc/lib/ojdbc5.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/java/

Using Context file          : /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/myinstance_myserver.xml

Context Value Management will now update the Context file

Updating Context file...COMPLETED

Attempting upload of Context file and templates to database...COMPLETED

Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...

AutoConfig completed with errors.


[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution.  Errors are grouped by directory and phase.
The report format is:
<filename>  <phase>  <return code where appropriate>

AutoConfig could not successfully execute the following scripts:
Directory: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/install/myinstance_myserver              INSTE8_PRF         1

AutoConfig could not successfully execute the following scripts:
Directory: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/install/myinstance_myserver              INSTE8_APPLY       1
AutoConfig is exiting with status 2

SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly


The issue is related to ORA_TZFILE env variable in 11GR2 this env variable is no longer needed.

In Oracle Database server to fix this issue Unset the env varaible ORA_TZFILE and try to connect.

In Oracle Applications Database to fix this issue Perform the below.

The ORA_TZFILE is set while at 11gR2 this should not be set.

The  $ORACLE_HOME/appsutil/template/ad8idbux.env is from the wrong version  (ad8idbux.env 120.8)

The wrong file includes the  following:


export  ORA_TZFILE

While for 11gr2 it should be:

if test "%s_database%" =  "db112" ;  then





export  ORA_TZFILE

Source the environment variable and executed autoconfig in Database Node, completed without issue

Reference: Autoconfig On Db Tier Fails With Error – SP2-1503: Unable to initialize Oracle call interface (Doc ID 1187616.1)

The issue is also resolved when you upgrade the applications 11i to Release 12 (12.1.1) or higher version on 11gR2 Database. wrong ELF class: ELFCLASS64 Killed

I was upgrading to Oracle Applications to R12 (12.1.1) on Solaris 10 64-bit Operating System.

While invoking adadmin utility after sourcing the R12 apps environment, I faced the following error:

bash-3.00$ adadmin adadmin: fatal: /oracle02/appsdev/R12/apps/tech_st/10.1.2/lib/ wrong ELF class: ELFCLASS64

Tried doing the below:

bash-3.00$ $ORACLE_HOME/bin/genclntsh -32
cat: cannot open /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/ldflags
Undefined                       first referenced
 symbol                             in file
nnfhboot                            /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libn10.a(nnfgt.o)
nnflboot                            /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libn10.a(nnfgt.o)
nnflgapc                            /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libnl10.a(nlpa.o)
nnftboot                            /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libn10.a(nnfgt.o)
nnflgav                             /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libnl10.a(nlol.o)
nnflfrm                             /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libnl10.a(nlol.o)
nnflrne                             /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libnl10.a(nlol.o)
ntusini                             /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libn10.a(ntcontab.o)
ntpini                              /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libn10.a(ntcontab.o)
nttini                              /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libn10.a(ntcontab.o)
ntzini                              /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/libn10.a(ntcontab.o)
ld: fatal: Symbol referencing errors. No output written to /oracle02/appsdev/R12/apps/tech_st/10.1.3/lib32/

@Per ‘unpublished’ Bug 5665338 – This issue is due to the library not being present under the 10.1.2 ORACLE_HOME/lib32 folder.

To fix the issue,  I did the following:

1.  Created a symbolic link

bash-3.00$ rm $ORACLE_HOME/lib32/ldflags
bash-3.00$ ln -s $ORACLE_HOME/lib/ldflags $ORACLE_HOME/lib32/ldflags
bash-3.00$ ls -ltr $ORACLE_HOME/lib32/ldflags
lrwxrwxrwx   1 appsdev  oracle         53 Apr  4 09:17 /oracle02/appsdev/R12/apps/tech_st/10.1.2/lib32/ldflags -> /oracle02/appsdev/R12/apps/tech_st/10.1.2/lib/ldflags

2. As root user, created a soft link

bash-3.00$ which make
bash-3.00$  ln -s /usr/css/bin/make /usr/bin/make

2.  Tested the fix

bash-3.00$ $ genclntsh

3.  The above genclntsh command completed without error, then relinked all of the software

bash-3.00$ relink all

Check if library has been created under the 10.1.2 ORACLE_HOME/lib32 folder.

bash-3.00$  ls -ltr $ORACLE_HOME/lib32/
-rwxr-xr-x   1 appsdev  oracle    18681000 Apr  4 09:23 /oracle02/appsdev/R12/apps/tech_st/10.1.2/lib32/

Invoked ad utlilities now:

bash-3.00$ adadmin

                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

                     Oracle Applications AD Administration

                                 Version 12.0.0

NOTE: You may not use this utility for custom development
      unless you have written permission from Oracle Corporation.

Your default directory is '/oracle02/appsdev/R12/apps/apps_st/appl'.
Is this the correct APPL_TOP [Yes] ?

The problem got fixed for me.

References: 413109.1, 395731.1

APP-FND-01926 ORA-06508

I was upgrading Oracle Apps to R12 and faced an issue with forms soon after applying Pre-requisite patches

APP-FND-01926:The custom event WHEN-LOGON-CHANGED raised unhandled exception:
ORA-06508: PL/SQL: could not find program unit being called

The issue can be reproduced at will with the following steps:

1. Login to http://hostname.domain:port/OA_HTML/AppsLocalLogin.jsp
2. Navigate to any forms-based application

After applying new patches, the forms and pl/sql libraries were not regenerated.

  1. Tried copying source CUSTOM.pll from backup
  2. re-compiling existing $AU_TOP/resource/CUSTOM.pll
  3. Copy and re-compile CUSTOM.pll
None of the above three helped in my case.

Finally, I did the following

1. Use adadmin and generate JAR files with force option.
2. Use adadmin and run Generate Form Files and PL/SQL Library Files

Forms started working!

Installing and Configuring Oracle WebCenter Content 11gR1

Installing and Configuring Oracle WebCenter Content 11gR1 (formerly Enterprise Content Management)

Oracle WebCenter Content, an Oracle Fusion Middleware component, is an integrated suite of products designed for managing content.

The process of installing and configuring Oracle WebCenter Content includes these high-level tasks:

  1. Preparing your system environment for installation
  2. Creating schemas for applications
  3. Installing an Application Server and Oracle Fusion Middleware
  4. Installing Oracle WebCenter Content
  5. Configuring Oracle WebCenter Content
  6. Installing and configuring an external LDAP-based identity store
  7. Performing Postinstallation Configuration
  8. Verifying the Configuration

Before performing any installation, you should read the system requirements and certification documents to ensure that your environment meets the minimum installation requirements(available on OTN) for the products you are installing.

  1. Install RHEL5.5 64-bit OS, configure Kernel parameters and install required RPMs for this installation on DB and App nodes.
  2. Install Oracle Database software 64-bit and create a database
  3. Install WebCenter Schema using RCU utility on the database created as in step 2
  4. Install Oracle WebLogic Server 10.3.6 Generic
  5. Install Oracle WebCenter Content
  6. Preparing to Configure Oracle WebCenter Content Applications

After you have successfully run the Oracle Fusion Middleware 11g Oracle WebCenter Content Installer and created application schemas, you can deploy and configure the following Oracle WebCenter Content products as applications:

  • Oracle WebCenter Content (which includes Oracle WebCenter Content Server)
  • Oracle WebCenter Content: Inbound Refinery
  • Oracle WebCenter Content: Imaging
  • Oracle Information Rights Management
  • Oracle WebCenter Content: Records

Complete documentation is available on Oracle site here

Oracle IDM 11gR1 ( Installation and Configuration

  1. Review and Make Note of Your Operating System Capabilities (32-bit or 64-bit): I have 64-bit Virtuals
  2. Review the Certification, System Requirements, and Interoperability Information without fail
  3. Understand the Types of Oracle Fusion Middleware Installers. I will be concentrating on Identity Management Installation in this post.
  4. Download the required softwares (if you are on oAS 10g, you need to upgrade to 11g now, not covered in this post)
    1. Download the Oracle database software: I am using Oracle Database
    2. Download the Oracle RCU : I am using Repository Creation Utility 11g Release 1 (
    3. Download 64-bit, Sun DDK 1.6.0_24/ Oracle JRockit SDK 1.6.0_24
    4. Download the Oracle Weblogic Server Software: I am using Oracle WebLogic Server 11g (10.3.6) Generic
    5. Download the Oracle Identity Management 11g Release 1 (
    6. There are patches available for an existing Oracle Fusion Middleware installation: The IDM 11g patchset 5 ( 13516867 is now available and is required if you are on 11.1.1.x.0 where x=2,3,4,5).

Start -> Install Database 11.2-> Run RCU 11.1(Install IDM schema)-> install JDK -> Install Oracle Weblogic 10.3 -> Install (do not configure) Oracle FMW 11.1 products-> Run the Patchset installer to update the software to 11g, if available -> Configure and create IDM domains and Managed servers – > Done

Operating system is RHEL 5.5 64-bit, kernel parameters adjusted accordingly and 64-bit RPMs required for this Fusion Middleware 11g installation has been installed both on Database node and Application node. Hardware and Software has met the minimum requirements as per Oracle recommendations.

Installing Sun JDK 1.6.0_24 64-bit

[oracle@mpoojari java]$ ls -ltr
total 1395588
-rw-r--r-- 1 oracle oinstall 1068506707 Feb 24  2012 wls1036_generic.jar
-rw-r--r-- 1 oracle oinstall   84909359 Feb 24  2012 jdk-6u24-linux-x64.bin
[oracle@mpoojari java]$ chmod +x jdk-6u24-linux-x64.bin
[oracle@mpoojari java]$ ls -ltr jdk-6u24-linux-x64.bin
-rwxr-xr-x 1 oracle oinstall 84909359 Feb 24  2012 jdk-6u24-linux-x64.bin
[oracle@mpoojari java]$ ./jdk-6u24-linux-x64.bin
[oracle@mpoojari java]$ ls -ltr
total 4
drwxr-xr-x 10 oracle oinstall 4096 Feb 20 19:28 jdk1.6.0_24
[oracle@mpoojari bin]$ pwd
[oracle@mpoojari bin]$ ./java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

You can include the JAVA_HOME/bin in the $PATH to invoke java.

Install Weblogic server 10.3.6

[oracle@mpoojari media]$ java -jar wls1036_generic.jar
[oracle@mpoojari ~]$ cd /u01/app/oracle/Middleware/
[oracle@mpoojari Middleware]$ ls -ltr
total 176
drwxr-xr-x 7 oracle oinstall  36864 Feb 20 19:53 modules
-rw-rw---- 1 oracle oinstall    133 Feb 20 19:53 domain-registry.xml
drwxr-xr-x 8 oracle oinstall   4096 Feb 20 19:54 utils
-rw-r--r-- 1 oracle oinstall    623 Feb 20 19:54 ocm.rsp
-rw-r--r-- 1 oracle oinstall 108926 Feb 20 19:54 registry.dat
-rw-r--r-- 1 oracle oinstall   1957 Feb 20 19:54 registry.xml
drwxr-xr-x 2 oracle oinstall   4096 Feb 20 19:54 logs
drwxr-xr-x 8 oracle oinstall   4096 Feb 20 19:54 wlserver_10.3
drwxr-xr-x 6 oracle oinstall   4096 Feb 20 19:54 coherence_3.7

To use WebLogic Server with 64-bit JVM’s on Linux and Solaris or to use WLS on other supported platforms, use the WebLogic Server generic installer, however it does not include a JVM/JDK.

Oracle JRockit 1.6.0_24 JDK is included in WebLogic Server installers for the Windows and Linux platforms.

Note: Oracle Fusion Middleware 11g Release 1 ( is not supported on Oracle WebLogic Server 12c (12.1.1).

Install Oracle Database

Install Oracle Database software and use the dbca utility to create a test database.

  1. open_cursors should be greater than or equal to 500
  2. processes should be greater than or equal to 500
  3. Use AL32UTF8 as the database character set
SQL> alter system set processes=500 scope=spfile;
SQL> alter system set open_cursors=800 scope=spfile;
SQL> alter system set session_cached_cursors=500 scope=spfile;
SQL> alter system set session_max_open_files=50 scope=spfile;
SQL> alter system set aq_tm_processes=1 scope=spfile;
SQL> alter system set job_queue_processes=10 scope=spfile;
SQL> shut immediate;
SQL> startup;

Minimum Initialization Parameters for Oracle RAC Databases

Parameter Value
aq_tm_processes 1
dml_locks 200
job_queue_processes 10
open_cursors 800
session_max_open_files 50
sessions 500
processes 500
sga_target 512M
sga_max_size 800M
pga_aggregate_target 100M
session_cached_cursors 500
processes 2500
sga_target 4G
pga_aggregate_target 2G

OAM requires a minimum of 800 open cursors in the database. When OIM and OAM are available, the number of open cursors should be 1500.

Installing IDM schema using RCU

RCU is available only on 32-bit x86 Linux and 32-bit Microsoft Windows operating system platforms. On 64-bit Linux operating systems, you must run the following command before starting RCU:

set linux32 bash

[oracle@mpoojari oracle]$ pwd
[oracle@mpoojari oracle]$ unzip /u03/media/
[oracle@mpoojari oracle]$ ls -ltr
total 28
drwxr-xr-x 32 oracle oinstall 4096 Dec 21 19:24 rcuHome
drwxr-xr-x  7 oracle oinstall 4096 Feb 20 19:54 Middleware
[oracle@mpoojari bin]$ pwd
[oracle@mpoojari bin]$ ls -ltr rcu
-r-xr--r-- 1 oracle oinstall 9220 Aug  2  2011 rcu
[oracle@mpoojari bin] ./rcu

Installing IDM 11gR1

Linux x86-64
Oracle Linux 5 (UL3+)
Red Hat Linux 5 (UL3+) Kernel 2.6.18

compat-libstdc++-33-3.2.3 (32-bit)
glibc-2.5-12 (32-bit)
glibc-devel-2.5-12 (32-bit)
libaio-0.3.106 (32-bit)
libgcc-4.1.1 (32-bit)
libstdc++-4.1.1 (32-bit)
libstdc++-devel 4.1.1
make-3.81 sysstat-7.0.0
openmotif22-2.2.3 (64-bit) (for Oracle Reports Server)
openmotif-2.2.3 (64-bit) (for Oracle Reports Server)
  • set hard and soft nofile to 4096 in etc/security/limits.conf
  • unset LD_ASSUME_KERNEL to avoid installation or configuration failure at instance creation.
  • Reboot the server
[oracle@mpoojari bin]$ cd /u02/softwares/
[oracle@mpoojari softwares]$ ls
[oracle@mpoojari softwares]$ cd idm/
[oracle@mpoojari idm]$ ls -ltr
total 36
-rw-r--r-- 1 oracle oinstall 20863 Dec 19 21:44 readme.htm
drwxr-xr-x 6 oracle oinstall  4096 Dec 20 03:01 Disk1
drwxrwxr-x 3 oracle oinstall  4096 Dec 20 03:01 Disk2
drwxrwxr-x 3 oracle oinstall  4096 Dec 20 03:01 Disk3
[oracle@mpoojari idm]$ cd Disk1/
[oracle@mpoojari Disk1]$ ls -ltr
total 36
-rwxrwxr-x  1 oracle oinstall 16429 Oct 27 10:47 runInstaller
drwxrwxrwx  6 oracle oinstall  4096 Dec 20 03:01 doc
drwxrwxrwx  3 oracle oinstall  4096 Dec 20 03:01 utils
drwxr-xr-x 12 oracle oinstall  4096 Dec 20 03:03 stage
drwxrwxrwx  3 oracle oinstall  4096 Dec 20 03:03 install
[oracle@mpoojari Disk1]$
[oracle@mpoojari Disk1]$ ./runInstaller -jreLoc /u01/java/jdk1.6.0_24/jre
Starting Oracle Universal Installer...

run orainventory script as root and click ok

Checking Temp space: must be greater than 400 MB. Actual 4489 MB Passed
Checking swap space: must be greater than 500 MB. Actual 2047 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-02-20_10-38-45PM. Please wait ...

[oracle@mpoojari bin]$ pwd
[oracle@mpoojari bin]$ ls -ltr
-rwxr-x--- 1 oracle oinstall 5556 Oct  5 11:37

Creating Managed Server instances

Creating managed server instances for OIM and OID yet to be covered. Keep watching this space.

Deinstalling Identity Management

The procedures for deinstalling Oracle Identity Management contains the following sections:

  • Deinstalling the Oracle Identity Management Oracle Home
  • Deinstalling the Oracle Common Home

Deinstall Oracle IDM home

Perform the following steps to deinstall your Oracle Identity Management Oracle Home using the graphical, screen-based deinstaller:

    1. Verify your Oracle Identity Management Oracle Home is not in use by an existing domain.
    2. Stop all processes that use the Oracle Identity Management Oracle Home.
    3. Open a command prompt and move (cd) into the IDM_ORACLE_HOME/oui/bin directory (UNIX) or the IDM_ORACLE_HOME\oui\bin directory (Windows).
    4. Invoke the Deinstaller from command line using the -deinstall option. For example:


./runInstaller -deinstall

On Windows:

setup.exe -deinstall

The Welcome screen appears.

Deinstalling the Oracle Common Home

Perform the following steps to deinstall the ORACLE_COMMON_HOME directory:

  1. Stop all processes that use the ORACLE_COMMON_HOME directory. To know all the processes that are using ORACLE_COMMON_HOME directory use the following commands:
  2. On UNIX:

    ps-ef grep <oracle_common>

    On Windows:

    Use the Windows Task Manager to identify the processes that use the ORACLE_COMMON_HOME directory.

  3. Deinstall your Oracle Identity Management Oracle Home by performing the steps in Deinstalling the Oracle Identity Management Oracle Home.
  4. Open a command prompt and move (cd) into the ORACLE_COMMON_HOME/oui/bin/ directory (on UNIX) or the ORACLE_COMMON_HOME\oui\bin\ directory (on Windows).
  5. Invoke the Deinstaller from command line using the -deinstall option and the -jreLoc option, which identifies the location where Java Runtime Environment (JRE) is installed. For example:


./runInstaller -deinstall -jreLoc FULL_PATH_TO_JRE_DIRECTORY

On Windows:

setup.exe -deinstall -jreLoc FULL_PATH_TO_JRE_DIRECTORY

The Welcome screen appears.

Entire documentation is available here

An internal operation has failed: Failed to start the component

Error creating ASComponent oid1.
An internal operation has failed: Failed to start the component
See logs for more details 

While configuring domain for IDM, I faced an issue during the configuration progress for creating/starting OID or OVD.
Log messages:

[2012-02-26T18:15:18.281+05:30] [as] [NOTIFICATION] [] [] [tid: 12] [ecid: 0000ItNNVoS2zGYVLqZR8A1DPZ_5000003,0] Start of create component
[2012-02-26T18:15:18.312+05:30] [as] [NOTIFICATION] [] [] [tid: 12] [ecid: 0000ItNNVoS2zGYVLqZR8A1DPZ_5000003,0] Action for the oid1 is START
[2012-02-26T18:15:18.312+05:30] [as] [NOTIFICATION] [] [] [tid: 12] [ecid: 0000ItNNVoS2zGYVLqZR8A1DPZ_5000003,0] Trying to start the component oid1
[2012-02-26T18:15:18.687+05:30] [as] [WARNING] [] [] [tid: 12] [ecid: 0000ItNNVoS2zGYVLqZR8A1DPZ_5000003,0] Failed to start component oid1[[ HTTP status code = 400 : No processes or applications match the specified configuration.

The password for cn=orcladmin remained locked and OID installation cleared failed configuration in file system but not from database repository (ODS schema in database).

Dropped the ODS schema (and ODSSM if exists) using RCU 32-bit.

set linux 32bash

I also deleted(or, rename) the AS instance home directory $MW_HOME/asinst_1 and  two more directories, domains and applications under $MW_HOME/user_projects directory for the failed domain.

Reconfigured the IDM domain using $MW_HOME/Oracle_IDM1/bin/ and created schema(ODS and ODSSM) during IDM domain configuration itself.

I had no issues during the configuration phase and the domain was configured without an issue.