11 March 2013

Step by Step to upgrade JRE Native Plug-in 1.7.0_17



Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1]

Step 1 - Apply Latest OUI Patch  - Patch6640838

Step 2 - MLR TRACKING BUG FOR FORMS 10.1.2.3.0 BUNDLE PATCH   (5.4M)   - Patch9593176

Step 3 - MERGE REQUEST ON TOP OF 10.1.2.3.1PSU FOR BUGS 14536350 14559906 14609039 - Patch14614795

Step 4 - R12.1.X: FORMS INTEROPERABILITY PATCH FOR 10.1.2.3 - patch14837539

Step 5 - Download the latest JRE (Java SE Runtime Environment 7u11 )  from http://oracle.com/technetwork/java/javase/downloads/index.html

Step 5  -  Rename the downloaded JRE file - Example file from jre-7u11-windows-i586.exe to j2se17011.exe

Step 6 - Move the j2se17011.exe file to the web application tier and place it in $COMMON_TOP/webapps/oacore/util/Jinitiator/

[applmgr@testap01 jinitiator]$ scp -pr kbtmariyappan@testap01:/usr/tmp/j2se17017.exe .

kbtmariyappan@testap01's password:

j2se17017.exe                                                                                                           100%   30MB  10.0MB/s   00:03

[applmgr@testap01 jinitiator]$ ll

total 144984

-rw-r--r-- 1 applmgr dba 15984024 Oct 14  2008 j2se16007.exe

-rwxr-xr-x 1 applmgr dba 16672544 Feb  3  2010 j2se16017.exe

-rwxr-xr-x 1 applmgr dba 16979960 Jan 27 03:39 j2se16037.exe

-rwxrwxrwx 1 applmgr dba 31521184 Mar 10 21:38 j2se17017.exe

Step 7 - Shut down your  Apache services  safer side we will stop all services.

Step 8 - Enable 'Maintenance Mode' using adadmin

[applmgr@testap01 jinitiator]$ sqlplus -s apps/apps @$AD_TOP/patch/115/sql/adsetmmd.sql ENABLE

PL/SQL procedure successfully completed.

Commit complete.

Step 9 - Run the $FND_TOP/bin/txkSetPlugin.sh jversion script   -  jversion  is  17017

[applmgr@testap01 jinitiator]$ pwd

/apps1/TEST/apps/apps_st/comn/webapps/oacore/util/jinitiator

[applmgr@testap01 jinitiator]$ $FND_TOP/bin/txkSetPlugin.sh 17017

/apps1/TEST/apps/apps_st/appl/fnd/12.0.0/bin

  Starting interoperability upgrade script...

Sending logfile output to:

        /apps1/TEST/inst/apps/TEST_testap01/logs/txkSetPlugin.log

Using the context file:

        /s001/TEST/inst/apps/TEST_testap01/appl/admin/TEST_testap01.xml

Using APPLSYS file:

        /apps1/TEST/apps/apps_st/appl/APPSTEST_testap01.env

Enter the password for the Oracle database APPS user [APPS] : *******

  Using /apps1/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java to execute java programs

  Getting J2SE parameter values...

  Copy oaj2se.exe to html dir...

Copying /apps1/TEST/apps/apps_st/comn/webapps/oacore/util/jinitiator/j2se17017.exe to /apps1/TEST/apps/apps_st/comn/webapps/oacore/html/oaj2se.exe ...

  Backing up the Application Context File...

/s001/TEST/inst/apps/TEST_testap01/appl/admin/TEST_testap01.xml to /s001/TEST/inst/apps/TEST_testap01/appl/admin/TEST_testap01.xml.prej2se17017

Using APPSWEB file /apps1/TEST/inst/apps/TEST_testap01/ora/10.1.2/forms/server/appsweb.cfg

  Backing up the appsweb file...

Backing up /apps1/TEST/inst/apps/TEST_testap01/ora/10.1.2/forms/server/appsweb.cfg to /apps1/TEST/inst/apps/TEST_testap01/ora/10.1.2/forms/server/appsweb.cfg.prej2se17017

  Updating XML context file with new J2SE parameters...

Updated J2SE plugin to jdk

Updated J2SE mimetype to 1.7.0_17

Updated J2SE Classid to CAFEEFAC-0017-0000-0017-ABCDEFFEDCBA

The log file for this session is located at: /apps1/TEST/inst/apps/TEST_testap01/admin/log/03102159/adconfig.log

AutoConfig is configuring the Applications environment...

AutoConfig will consider the custom templates if present.

        Using CONFIG_HOME location     : /apps1/TEST/inst/apps/TEST_testap01

        Classpath                   : /apps1/TEST/apps/apps_st/comn/java/lib/appsborg2.zip:/apps1/TEST/apps/apps_st/comn/java/classes

        Using Context file          : /s001/TEST/inst/apps/TEST_testap01/appl/admin/TEST_testap01.xml

Context Value Management will now update the Context file

        Updating Context file...COMPLETED

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

Configuring templates from all of the product tops...

        Configuring AD_TOP........COMPLETED

        Configuring FND_TOP.......COMPLETED

        Configuring ICX_TOP.......COMPLETED

        Configuring MSC_TOP.......COMPLETED

        Configuring IEO_TOP.......COMPLETED

        Configuring BIS_TOP.......COMPLETED

        Configuring AMS_TOP.......COMPLETED

        Configuring CCT_TOP.......COMPLETED

        Configuring WSH_TOP.......COMPLETED

        Configuring CLN_TOP.......COMPLETED

        Configuring OKE_TOP.......COMPLETED

        Configuring OKL_TOP.......COMPLETED

        Configuring OKS_TOP.......COMPLETED

        Configuring CSF_TOP.......COMPLETED

        Configuring IGS_TOP.......COMPLETED

        Configuring IBY_TOP.......COMPLETED

        Configuring JTF_TOP.......COMPLETED

        Configuring MWA_TOP.......COMPLETED

        Configuring CN_TOP........COMPLETED

        Configuring CSI_TOP.......COMPLETED

        Configuring WIP_TOP.......COMPLETED

        Configuring CSE_TOP.......COMPLETED

        Configuring EAM_TOP.......COMPLETED

        Configuring FTE_TOP.......COMPLETED

        Configuring ONT_TOP.......COMPLETED

        Configuring AR_TOP........COMPLETED

        Configuring AHL_TOP.......COMPLETED

        Configuring OZF_TOP.......COMPLETED

        Configuring IES_TOP.......COMPLETED

        Configuring CSD_TOP.......COMPLETED

        Configuring IGC_TOP.......COMPLETED

AutoConfig completed successfully.

Done

Step 10 - Check your J2SE Class id updated in context file or not.

 [applmgr@testap01 jinitiator]$ cat $CONTEXT_FILE |grep CAFEEFAC-0017-0000-0017-ABCDEFFEDCBA

         <sun_clsid oa_var="s_sun_clsid">CAFEEFAC-0017-0000-0017-ABCDEFFEDCBA</sun_clsid>

Step 11- [applmgr@testap01 jinitiator]$ sqlplus -s apps/apps @$AD_TOP/patch/115/sql/adsetmmd.sql DISABLE

PL/SQL procedure successfully completed.

Commit complete.

[applmgr@testap01 jinitiator]$

Step 12 - Start all application services services.


No comments: