Thursday 27 February 2014

Upgrading to JDK 7.0 in oracle applications R12

Upgrading JDK 7.0(1467892.1)

1)Upgrading to Latest JDK 7.0 on Application Tier Nodes

àUpgrading to JDK 7.0 requires Oracle Application Server 10.1.3.5 or higher for the web tier.

àNote:- By default when we install R12.1.1 we will get Web Tier with 10.1.3.4 so First we need to upgrade 10.1.3.4 to 10.1.3.5

àTo upgrade to 10.1.3.5 follow metalink noteid 454811.1. Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite Release 12.
                                                                                    (or)
                                                                           follow below link

http://learnappsdbaskills.blogspot.in/2014/02/upgrading-10134-oh-to-10135-by-applying.html

àOnce upgrading to 10.1.3.5 verify $OAS_ORACLE_HOME/config/ias.properties file to confirm WebTier version.

àBefore upgrading Application Tier Nodes to JDK 7.0 apply these prerequisite patches.
                                Patch 16545472 
                                Patch 17309237
                                Note:- Before Applying this patches make sure you have applied all prerequisite patches and performed post installation steps.
                               
àDownload Latest JDK 7.0 Update from below link  http://www.oracle.com/technetwork/java/javase/downloads/index.html
 Note:-You will find rpm file and tar file make sure you are downloading tar file.

àStop All Application Tier Services
                cd $ADMIN_SCRIPTS_HOME
                adstpall.sh apps/apps

àReplace JDK Home Used With Oracle E-Business Suite Release 12
Oracle E-Business Suite application tier uses the JDK from a fixed installation location, $IAS_ORACLE_HOME/
appsutil/jdk
To replace existing JDK to Newly installed version perform below steps.
                    cd $IAS_ORACLE_HOME/appsutil
                    mv jdk jdk_old
                    Extract Downloaded file(JDK 7.0) in this location
                    mv jdk1.7.0_5 jdk
Note:- The final line installs the latest update of JDK 7.0 into the $IAS_ORACLE_HOME/appsutil directory. In this example, the version is 7.0_5.
                Rename Existing JRE Directories
                    mv $IAS_ORACLE_HOME/jre/1.4.2 $IAS_ORACLE_HOME$/jre/1.4.2_old
àInstall Albany (Display) Font
Copy the below files from $FND_TOP/resource directory to $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/fonts directory
         ALBANYWT.ttf,  ALBANWTJ.ttf,  ALBANWTK.ttf,    ALBANWTS.ttf, ALBANWTT.ttf
                                ex: cp $FND_TOP/resource/ALBANYWT.ttf $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/fonts

2)Upgrading to Latest JDK 7.0 in OracleAS 10.1.2 Oracle_Home
àDownload and Apply the following Patches
                                Patch 12848228
                                Patch 5659594

àDownload Latest JDK 7.0 Update

àReplace JDK Home Used With Oracle E-Business Suite Release 12
     To replace existing JDK to Newly installed version perform below steps.
                                cd 10.1.2_ORACLE_HOME
                                mv jdk jdk_old
                                Extract Downloaded file(JRE 7.0) in this location
                                mv jdk1.7.0_2

àRename The Following Directories
                                mv $ORACLE_HOME/jdk64   $ORACLE_HOME/jdk64_old
                                mv $ORACLE_HOME/jre/1.4.2 $ORACLE_HOME/jre/1.4.2_old
                                mv $IAS_ORACLE_HOME/jre/1.4.2 $IAS_ORACLE_HOME/jre/1.4.2_old
   
àAfter JDK 7 UPGRADE REPORTS,FORMS CAUSES RELINKING ERROR so apply these patches on top of 10.1.2 ORACLE_HOME.
   Note:-Apply these patches in sequence using opatch utility and perform post patch steps.
               
                1)16271876
                2)14703419
                3)16207165
                4)16241466
   
  àRe-generate Oracle E-Business Suite Forms and Reports
    Under adadmin main menu select "Generate Applications Files Menu"
                Under submenu select "Generate Form Files” when adadmin completes Form Files Select "Generate Report Files".
   
 à Restart All Application Tier Services
                                cd $ADMIN_SCRIPTS_HOME
                                adstrtall.sh apps/apps

  à Perform Health Checks

3)Upgrading to Latest JRE 7.0 on Database Tier Node

 àDownload Latest JRE 7.0 Update(Note: Download the 32-bit JRE only, not the Java SE Development Kit (JDK))

 àReplacing JRE Home Used With Oracle E-Business Suite Release 12
                The Oracle E-Business Suite database tier uses the JRE 7.0 from a fixed installation location, $ORACLE_HOME/appsutil/jre.
                To replace existing JRE to Newly installed version perform below steps.
                cd $ORACLE_HOME/appsutil
                mv jre jre_old
                Extract Downloaded file(JRE 7.0) in this location
                mv jre1.7.0_5 jre
                Note:The final line installs the latest update of JRE 7.0 into the $ORACLE_HOME/appsutil directory. In this example, the version is 7.0_5.
               
4)Verify Application Tier Node Configurations
àVerify Installations On All Web Server Nodes
                Navigate to OA_HTML directory and Create JDKtest.jsp file
                Using a text editor, create a file called JDKtest.jspunder [OA_HTML] containing the following line:
                                The JDK version is: <%= System.getProperty("java.version") %>
                Compile JDKtest.jsp script using following command
                                 perl -x $FND_TOP/patch/115/bin/ojspCompile.pl --compile -s 'JDKtest.jsp'
                Run JDKtest.jsp script from browser  using the below URL
                                http://[web server]:[port]/OA_HTML/JDKtest.jsp

àVerify Configurations On All Application Tier Nodes
check the output of below commands.
                $ $ADJVAPRG -version
                $ echo $CLASSPATH
                $ $AFJVAPRG -version
                $ echo $AF_CLASSPATH
                Note:-The output of  CLASSPATH and AF_CLASSPATH should contain below executables
                                $IAS_ORACLE_HOME/appsutil/jdk/lib/dt.jar
                                $IAS_ORACLE_HOME/appsutil/jdk/lib/tools.jar
                                $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/rt.jar
                Note:-The output of ADJVAPRG and AFJVAPRG should contain New JDK 7 executables
                                [applmgr@fed01 ~]$ $AFJVAPRG -version
                java version "1.7.0_51"
                Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
                Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode)
                [applmgr@fed01 ~]$ $ADJVAPRG -version
                java version "1.7.0_51"
                Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
                Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode)

àVerify Oracle E-Business Suite concurrent programs
                Log in to Oracle E-Business Suite and select the "System Administrator" responsibility.
                Check the Concurrent --> Manager --> Administer form and ensure that all managers have the appropriate numbers for their actual and target.

àVerify JRE Installation on Database Tier Node
                cd $ORACLE_HOME/appsutil/jre/bin {ORACLE_HOME here refers to RDBMS ORACLE_HOME}
                 java -version
                 Output of above command should refer to 1.7.0_x.
                

No comments: