Upgrade Java SE/J2SE/JDK 5 or 6 for Oracle Apps 11i

Points good to know about JDK/Java upgrade for 11i

1. Java Standard Edition (Java SE) was formerly referred to as Java 2 Standard Edition (J2SE) or the Java Development Kit (JDK).
2. Install Java 2 SDK (or JDK) and NOT JRE (java Run Time Environment)
3. Even if you are running apps on 64 bit server, download and install 32-bit Java (and NOT 64 bit)
4. To Upgrade to J2SE 5.0 minimum you should be minimum at 11.5.10 CU1 and
for J2SE 6.0 minimum 11.5.10 CU2 or 11.5.9 CU2 with ATG RUP5

Main steps for Java Upgrade for Oracle Apps 11i

1. Download and Install Java (J2SE/JDK) on all apps nodes
2. Download and Apply interoperability patches using adpatch utility
3. Configure Application Tier Nodes to support J2SE 5.0 or 6.0 using txkrun.pl
4. Regenerate the appsborg2.zip File & Product JAR Files using adadmin
5. Restart Services using adstrtal.sh
6. Verify the Application Tier Node Configurations using aoljtest.jsp (http://[web server]:[port]/OA_HTML/jsp/fnd/aoljtest.jsp)

.

What happens in the background

When you run txkrun.pl -script=SetJDKCfg … where txkrun.pl is under  $FND_TOP/bin calls txkSetJDKCfg.pl
$FND_TOP/patch/115/bin/txkSetJDKCfg.pl -> This script is used to migrate FND and AD to new JDK version

a. Backs up context file in $APPL_TOP/admin/$CONTEXT_NAME/out/<timestamp>/
b. Updates following context variables in context file

s_jdktop, s_afjretop, s_tools_java, s_oajretop, s_oajdktop, s_jretop  to new JAVA_TOP
s_txk_jdbc_zip to jdbc14.zip
s_txk_wrapper_bin_charset_jar to charsets.jar
s_adovar_afclasspath, s_adovar_classpath to use jar, zip and java files from new JAVA_TOP
s_afjvaprg, s_adjvaprg to new JAVA_TOP/bin/java
s_jvm_options to -verbose:gc -Xmx512M -Xms128M -XX:MaxPermSize=128M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB
s_adjreopts to -Xmx512M
s_java_awt_headless to true
s_afjcparg to -client
s_afjsmarg to -server

c. Executes Autoconfig to update above changes in all configuration files

Logs are in file $APPLRGF/TXK/txkSetJDKCfg_<timestamp>.log (where APPLRGF is $COMMON_TOP/rgf/$CONTEXT_NAME)

References /Metalink Notes

  • 300482.1  Overview of Using Java with Oracle E-Business Suite Release 11i
  • 304099.1  Using J2SE Version 5.0 with Oracle E-Business Suite 11i
  • 401561.1  Using J2SE Version 6 with Oracle E-Business Suite 11i

About the Author Masroof Ahmad

Leave a Comment:

6 comments
Add Your Reply