Saturday, April 3, 2010

Migration of Java plugin from jinit to Sun JRE

JRE Plug-in Oracle E-Business Suite interoperability patch needs to be applied for accessing Forms thru Sun JRE version ( 1.5 and above only )."

For 11iDownload the JRE plug-in Oracle E-Business Suite interoperability patch 6863618.Note: This patch is suitable for both JRE 5.0 and JRE 6 families. If you have previously applied this patch and are simply upgrading your environment to another JRE version there is no need to apply it again.

FOR R12Download the JRE plug-in Oracle E-Business Suite interoperability patch 4377566Note: This patch is suitable for both JRE 5.0 and JRE 6 families. If you have previously applied this patch and are simply upgrading your environment to another JRE version there is no need to apply it again.

$ADJVAPRG -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Server VM (build 1.5.0_10-b03, mixed mode)----------


Action Plan
==================
Apply Patches
6863618(1.7M) - Techstack (Check for Pre requisites)
Instructions============
-> Apply the Patch Driver
-> Run the txkSetPlugin.sh script from the patch_top/interop_patch_number/fnd/bin/ directory
-> txkSetPlugin.sh jversion (-->replaced by the version 15003 /16017)
Note--->
txkSetPlugin.sh -->this will internally run autoconfig for updating the versionsit will internally upgrade Oracle Workflow too. The below run will be usefull...

Sample Run
================
sh txkSetPlugin.sh 16017
/thyati/applmgr/11510/ad/11.5.0/bin
Starting interoperability upgrade script...
Sending logfile output to:
/thyati/applmgr/11510/admin/log/txkSetPlugin.log
Using the context file:
/thyati/applmgr/11510/admin/THYATI_auohshyat02.xml
Using APPLSYS file:
/thyati/applmgr/11510/APPSTHYATI_auohshyat02.env
Enter the password for the Oracle database APPS user [APPS] : *****
Using /thyati/applmgr/common/util/java/1.5/bin/java to execute java programs
Getting J2SE parameter values...
Copy oaj2se.exe to html dir...
Copying /thyati/applmgr/common/util/jinitiator/j2se16017.exe to /thyati/applmgr/common/html/oaj2se.exe ...
Backing up the Application Context File...
Backing up /thyati/applmgr/11510/admin/THYATI_auohshyat02.xml to /thyati/applmgr/11510/admin/THYATI_auohshyat02.xml.prej2se16017
Using APPSWEB file /thyati/applmgr/common/html/bin/appsweb_THYATI_auohshyat02.cfg
Backing up the appsweb file...
Backing up /thyati/applmgr/common/html/bin/appsweb_THYATI_auohshyat02.cfg to /thyati/applmgr/common/html/bin/appsweb_THYATI_auohshyat02.cfg.prej2se16017
Updating XML context file with new parameters...Updated Plug-in type to jdk
Updated JInitiator version name to 1.6.0_17Updated JInitiator mimetype to 1.6.0_17
Updated JInitiator classid to CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA
Updated J2SE mimetype to 1.6.0_17Updated J2SE Classid to CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using APPL_TOP location : /thyati/applmgr/11510
Classpath : /thyati/applmgr/common/util/java/1.5/jre/lib/rt.jar:/thyati/applmgr/common/util/java/1.5/lib/dt.jar:/thyati/applmgr/common/util/java/1.5/lib/tools.jar:/thyati/applmgr/common/java/appsborg2.zip:/thyati/applmgr/common/java
Using Context file : /thyati/applmgr/11510/admin/THYATI_auohshyat02.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.......COMPLETEDConfiguring ICX_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETEDConfiguring ABM_TOP.......COMPLETED
Configuring ECX_TOP.......COMPLETEDConfiguring BIS_TOP.......COMPLETED
Configuring GL_TOP........COMPLETEDConfiguring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETEDConfiguring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETEDConfiguring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETEDConfiguring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETEDConfiguring XNC_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETEDConfiguring IBY_TOP.......COMPLETED
Configuring PA_TOP........COMPLETEDConfiguring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETEDConfiguring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETEDConfiguring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETEDConfiguring EAM_TOP.......COMPLETED
Configuring IMT_TOP.......COMPLETEDConfiguring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETEDConfiguring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETEDConfiguring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETEDConfiguring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
The log file for this session is located at: /thyati/applmgr/11510/admin/THYATI_auohshyat02/log/03310605/adconfig.log
Upgrading j2se16017 for Oracle Workflow...
Oracle Workflow upgraded successfully...Done
(Applications are using Sun JRE***)



For Disco Upgrades
=====================Action plan======================>
Go to
cd $ORACLE_HOME/discoverer/configvi configuration.xmlNOTE: Version to use should match the one chosen during install.

In following example, version 1.6.0.11 is used
Change sections:
================
From:

To:
-----------------------------------------------------------------------

From:http://auohshyat02.oracleoutsourcing.com:10569/jpi/j2re.exe" version="1.4.2" versionie="1,4,2,mn" type="application/x-java-applet"
To:
http://auohshyat02.oracleoutsourcing.com:10569/jpi/oaj2se.exe" version="1.6.0" versionie="1,6,0,17" type="application/x-java-applet"
-----------------------------------------------------------------------

From: plugin_setup="http://auohshyat02.oracleoutsourcing.com:10569/disco/jinit/jinit13125.exe"To: plugin_setup="http://auohshyat02.oracleoutsourcing.com:10569/disco/jpi/oaj2se.exe"-----------------------------------------------------------------------

cd $ORACLE_HOME/jpi/binln -s /thyati/applmgr/common/html/oaj2se.exe oaj2se.exe
NOTE: If discoverer is installed on another tier than applications, you will need to copy the oaj2se.exe file to the discoverer tier instead of creating above link.

vi $ORACLE_HOME/jpi/doc/jpi.conf
Change sections:================From:AliasMatch ^/jpi/(..*) "/thyati/disco/product/disco_1012/jpi/bin/$1"To:AliasMatch ^/disco/jpi/(..*) "/thyati/disco/product/disco_1012/jpi/bin/$1"-----------------------------------------------------------------------

vi $ORACLE_HOME/jpi/doc/jpi-version.ini Change section (example used is 1.6.0.11):==========================================From:object_classid=clsid:XXXXXXXXXXXXXXXXXXXXXXobject_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab #Version=1,4,2,mnobject_mimetype=application/x-java-applet;jpi-version=1.4.2
To:object_classid=clsid:CAFEEFAC-0016-0000-0011-ABCDEFFEDCBAobject_codebase= http://auohshyat02.oracleoutsourcing.com:10569/disco/jpi/oaj2se.exe #Version=1,6,0,mnobject_mimetype=application/x-java-applet;jpi-version=1.6.0
-----------------------------------------------------------------------

After the above changes are done, restart discoverer
dcmctl updateconfig
opmnctl stopall
opmnctl startall
Guys need to know about the txkSetPlugin.sh tool. Do post some good findings

No comments:

Post a Comment