Thursday, 22 July 2010

Installing JDK Version 6 with Oracle E-Business Suite 11i

Version of EBS 11.5.10.2
OS : OEL 4.6

Download JDK 6u2 or higher from http://java.sun.com/javase/downloads/index.jsp

Check the file size before proceeding.
jdk-6u-linux-i586-rpm.bin

You can download to any directory that you can write to in Linux box
Login as root and perform these actions
# chmod a+x jdk-6u-linux-i586-rpm.bin
# ./jdk-6u-linux-i586-rpm.bin

This will install JDK 6 under /usr/java/jdk1.6.0_16/ folder 

So remember this path, require to apply it in application tier [JDK60_TOP]
 

You can verify the new Java 6 
/usr/java/jdk1.6.0_16/bin/java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)


Now need to login as Applmgr user and make sure you have access permission to this folder

[applmgr@visr12 ~]$ /usr/java/jdk1.6.0_16/bin/java -version

java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
[applmgr@visr12 ~]$


These messages will confirm that you have access to that executables
OK, fine. Now we can start looking at the required patches for application tiers


Obtain the JDK 6 Consolidated Patch and other EBS Interoperability Patch(es)
Obtain the following patches and their prerequisites for Oracle Applications 11.5.10CU2:

1. JDK 6 consolidated patch for 11.5.10CU2, patch 5622511
2. Contracts Core patch 5977502

Apply 11i.ATG_PF.H.RUP5 or Higher (if required)
(Skip this step if you have previously applied ATG_PF.H.RUP5 or higher or are running an 11.5.10.CU2)

Stop all Application Tier Server Processes

cd $COMMON_TOP/admin/scripts/CONTEXT_NAME
adstpall.sh APPS username/APPS password

Apply 11i.ATG_PF.H.RUP5 patch 5473858 or higher using AutoPatch.

Apply JDK 6 Consolidated Patch 5622511 and other EBS Interoperability Patch(es)
Apply the following patches and their prerequisites, using AutoPatch:

JDK 6 consolidated patch 5622511
Contracts Core patch 5977502

Configure all Application Tier Nodes to Support JDK 6

Run the JDK 6 upgrade script to upgrade the configuration template files for each [APPL_TOP]. Enter the appropriate commands and follow the instructions given by the script:

txkrun.pl -script=SetJDKCfg -contextfile=$CONTEXT_FILE -runautoconfig=Yes -appspass= -jdktop=[JDK60_TOP]
Here [JDK60_TOP] = /usr/java/jdk1.6.0_16/


$COMMON_TOP/admin/scripts/ adautocfg.sh

Regenerate the appsborg2.zip File & Product JAR Files

$APPL_TOP/APPS[CONTEXT_NAME].env

Run AD Administration, -> " Generate Applications Files" ->"Generate Product JAR Files"

Restart all Application Tier Server Processes

cd $COMMON_TOP/admin/scripts/[CONTEXT_NAME]

adstrtal.sh [APPS username/APPS password]

Verify the Application Tier Node Configurations

Run the AOL/J test page from a web browser using the following URL:-

http://[web server]:[port]/OA_HTML/jsp/fnd/aoljtest.jsp

Verify Configurations on all Application Tier Nodes
$ADJVAPRG -version
echo $CLASSPATH

$AFJVAPRG -version
echo $AF_CLASSPATH

That's it.

Please read Metalink Note:401561.1 - Using J2SE Version 6 with Oracle E-Business Suite 11i and
JavaTM SE 6 Release Notes - JDK RPM Installation for Linux (32-bit)

SocialTwist Tell-a-Friend

Related Posts by Categories



2 comments:

Anonymous said...

Dear Dude,, can u help me to Replacing Jinitiator with Sun Java JRE for APPS 11i.

if there any clear post like this,, kindly let me update on my mail id abdul.hameed@4iapps.com

Ajikumar G said...

Please check your mailbox for the requested details.