I did this on OEL 6.4 and can be followed on any supported Linux version like OEL 5 and above.
After fresh Install of 12.1.1 , we upgrade it to 12.1.3 MP (Maintenance Pack) and then we need to update JDK to latest version like JRE 7u51 , before start using the application.
Referred the doc Using JDK 7.0 Latest Update with Oracle E-Business Suite Release 12.0 and 12.1 (Doc ID 1467892.1).
-----------------
Apply following three patches Step 2.1: Prerequisite Patches as per Doc -1467892.1
1) 16545472 1OFF:12.1.3:14487215: JAVA RUN-TIME ENVIRONMENT VERSION TEST FAILED AFTER JDK 7 UPGRADE (16545472:R12.OAM.B).
2) 16496713 This patch resolves the issue of showing inactive date getting populated for all supplier contact user (16496713:R12.POS.B).
3) 17309237 S_TXK_JDBC_ZIP IS TAKING DEFAULT VALUE OF JDBC14.ZIP FOR JDK 7 IN R12 INSTANCE (17309237:R12.TXK.B).
-----------------
As per the above note we need to follow the doc for 10.1.3.4 and 10.1.2.3
Document 454811.1: Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle EBusiness Suite Release 12.
R12.1.1 rapidwiz will install default java 1.6.0_10 and we need to upgrade to latest JDK and JRE after 12.1.3 MP, in this case upgraded to JDK 7u51.
Before JDK Upgrade , need to upgrade 10.1.3.4 to 10.1.3.5 and apply latest patches for 10.1.2.3 as detailed below in Step1 and Step2, then follow JDK upgrade steps.
1) I have used generic terminologies , thus can be mapped to any environment.
2) # is OS default shell prompt.
11. As per DOC - Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite Release 12 (Doc ID 454811.1)
Download patches : Make sure you select correct platform - Linux x86
1) 10.1.3.5 patchset - 8626084 - PLACEHOLDER BUG TO UPLOAD AS10.1.3.5 PATCH-SET ON ARU (Size 779M)
2) 8920270 -INSTALLING AS 10.1.3.5 REQUIRES OCM RESPONSE FILE WHEN OCM IS NOT CONFIGURED (Size 432K)
12. Make patch directory where you would unzip the patchset like /r12patches/10135 and copy the main patchset 8626084 to this directory and unzip it , It will create two Disk1 and Disk2 directories.
13. Unzip the patch 8920270 into any temp directory like /tmp and follow the patch readme of 8920270 and apply step 1,2 and 3 only , this would replace the other.jar file of main patchset 10.1.3.5 - 8626084 with the other.jar file from patch 8920270.
Steps: unzip p8920270_101350_LINUX.zip under /disk2/10135 and follow the patch readme Steps 1,2 and 3 Only...
cd /disk2/10135
cd Disk1/stage/Patches/oracle.as.j2ee.top/10.1.3.5.0/1/DataFiles
[applr12@oravdba DataFiles]$ mv other.jar other.jar_pre8920270
cp /disk2/10135/other.jar .
14. Take the backup of </BASEAPPL>/SID/apps/tech_st/10.1.3 (IAS_ORACLE_HOME)
15. Apply the patchset
# ./runInstaller -ignoreSysPrereqs -invPtrLoc <1013_ORACLE_HOME>/oraInst.loc
It will start the Installer and in the first screen select Destination as something like
Make sure it has 10_1_3 in it.
Enter 'oafm' (without single quotes) as oc4jadmin password when prompted.
At the end it will fail at the OC4J configuration assistant as part of post install configuration steps , you just ignore and click Next and complete the installation.
While running runInstaller , from another unix windows can tail the log to see the progress.
#tail -f /home/applr12/VISV/inst/apps/VISV_oravdba/admin/oraInventory/logs/installActions2014-03-19_12-45-06AM.log
After successful installation , by default it starts the opmn processes, check it by running.
Stop the opmn services by running below command.
16) Apply additional patches - Apply patches over 10.1.3.5 patchset
IMP Note :While downloading make sure select the Release as - iAS 10.1.3.5.0 and not iAS 10.1.3.4.0
1) Patch 8999551: REQEUST TO EVALUATE TO REV UP THE JAVA MAILER APIS TO LATEST TO SUPPORT SSL
2) Patch 12965674: NULLPOINTEREXCEPTION WHEN DEPLOYING APPLICATIOINS AT OC4J
Unzip patches and go to unzipped patches folder and use below command.
Make sure 10.1.3.5 environment is set by # . $INST_TOP/ora/10.1.3/<SID>_hostname.env
1) #cd /r12patches/10135 and unzip patches p8999551_101350_Generic.zip and p12965674_101350_Generic.zip , this would create individual patch folders 8999551 and 12965674. run below command to apply two patches from there unzipped folders one by one.
We will do post-install steps of re-generating appsborg.zip and appsborg2.zip10.1.3.5 at the end of this doc using adadmin - Generate product JAR file option.
Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12 (Doc ID 437878.1)
invPtrlLoc <1012_ORACLE_HOME>/oraInst.loc >
In Select Installation Type , screen select Custom mode. click Next.
In next screen at the bottom of the window you would see this option and select it.
3) Apply patches in following sequence after latest opatch and OUI patch.
===Next steps - Apply E-Business R12 Interoperability patch
This Oracle Apps Patch 14837539 enables Applications Release 12 Forms to consume class files available in the 10.1.2.3 Patchset. Specifically this patch contains Oracle Applications
Java *.dep and driver files used for building JAR files.
1) Enable Maintenance Mode
2) Apply interoperability patch - p14837539_R12.TXK.B_R12_GENERIC.zip
cd /disk2/10135/10123/14837539
3) Disable Maintenance Mode
-------------
Before this JDK 7u51 upgrade
-->See the existing version
cd /disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil/jdk/bin
[applr12@oravdba bin]$ file java
java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
[applr12@oravdba bin]$ ./java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
-------
cd /media/PENDRIVE/jdk1213_upgrade
gunzip jdk-7u51-linux-i586.tar.gz
This will create tar file..
jdk-7u51-linux-i586.tar
cp jdk-7u51-linux-i586.tar $IAS_ORACLE_HOME/appsutil
chown applr12:dba /disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil/jdk-7u51-linux-i586.tar
cd /disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil
[applr12@oravdba appsutil]$
[applr12@oravdba appsutil]$ tar -xvf jdk-7u51-linux-i586.tar
This will create jdk1.7.0_51 folder..
Move old jdk folder to jdk_old
#mv jdk jdk_old
[applr12@oravdba appsutil]$ mv jdk1.7.0_51 jdk
cd /disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil/jdk/bin
[applr12@oravdba bin]$ ./java -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)
[applr12@oravdba bin]$ file ./java
./java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
[applr12@oravdba bin]$
[applr12@oravdba ~]$ which java
/disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java
[applr12@oravdba ~]$ java -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)
==>Rename Existing JRE Directories 1.4.2 , not needed any more..
cd /disk2/applr12/VISV/apps/tech_st/10.1.3/jre
[applr12@oravdba jre]$ mv 1.4.2 1.4.2_old
==>Install Albany (Display) Font
cd /disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts
[applr12@oravdba fonts]$ ls -ltr
total 2044
-rw-r--r--. 1 applr12 dba 242700 Dec 19 08:21 LucidaTypewriterRegular.ttf
-rw-r--r--. 1 applr12 dba 234068 Dec 19 08:21 LucidaTypewriterBold.ttf
-rw-r--r--. 1 applr12 dba 698236 Dec 19 08:21 LucidaSansRegular.ttf
-rw-r--r--. 1 applr12 dba 317896 Dec 19 08:21 LucidaSansDemiBold.ttf
-rw-r--r--. 1 applr12 dba 344908 Dec 19 08:21 LucidaBrightRegular.ttf
-rw-r--r--. 1 applr12 dba 80856 Dec 19 08:21 LucidaBrightItalic.ttf
-rw-r--r--. 1 applr12 dba 75124 Dec 19 08:21 LucidaBrightDemiItalic.ttf
-rw-r--r--. 1 applr12 dba 75144 Dec 19 08:21 LucidaBrightDemiBold.ttf
-rw-r--r--. 1 applr12 dba 4041 Dec 19 08:21 fonts.dir
[applr12@oravdba fonts]$ cp /disk2/applr12/VISV/apps/apps_st/appl/fnd/12.0.0/resource/ALBAN* .
==>Apply patche to 10.1.2.3 Oracle Home using opatch
[root@oravdba jdk1213_upgrade]# ls *1284822*
p12848228_10123_GENERIC.zip
[root@oravdba jdk1213_upgrade]# ls *565959*
p5659594_10123_GENERIC.zip
cd /media/PENDRIVE/jdk1213_upgrade
root@oravdba jdk1213_upgrade]# cp p12848228_10123_GENERIC.zip /disk2/10135/10123/
[root@oravdba jdk1213_upgrade]# cp p5659594_10123_GENERIC.zip /disk2/10135/10123/
==>) Apply patch p12848228_10123_GENERIC.zip
cd /disk2/10135/10123/12848228
opatch apply -invPtrLoc /disk2/applr12/VISV/apps/tech_st/10.1.2/oraInst.loc
==>) Apply patch p5659594_10123_GENERIC.zip
cd /disk2/10135/10123/5659594
opatch apply -invPtrLoc /disk2/applr12/VISV/apps/tech_st/10.1.2/oraInst.loc
---->Copy latest JDK home used with R12 10.1.2 forms and reports ORACLE_HOME
cd /disk2/applr12/VISV/apps/tech_st/10.1.2
cp /disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil/jdk-7u51-linux-i586.tar .
tar -xvf jdk-7u51-linux-i586.tar
It will create jdk1.7.0_51
mv jdk1.7.0_51 jdk
Rename old jre
cd /disk2/applr12/VISV/apps/tech_st/10.1.2/jre
mv 1.4.2 1.4.2_old
===>Apply 10.1.2.3 opatch for Linux86
==>)Apply patch p16271876_10123_LINUX.zip
cd /disk2/10135/10123/16271876
opatch apply -invPtrLoc /disk2/applr12/VISV/apps/tech_st/10.1.2/oraInst.loc
[applr12@oravdba disk2]$ cd $ORACLE_HOME
[applr12@oravdba 10.1.2]$ pwd
/disk2/applr12/VISV/apps/tech_st/10.1.2
[applr12@oravdba 10.1.2]$ cd lib/stubs
[applr12@oravdba stubs]$ ls -ltr libjv*
-rw-r--r--. 1 applr12 dba 38148 Apr 23 04:47 libjvm-1.7-stub.so
[applr12@oravdba stubs]$ ln -s libjvm-1.7-stub.so libjvm.so
==>) Apply patch p14703419_10123_LINUX.zip
cd /disk2/10135/10123/14703419
opatch apply -invPtrLoc /disk2/applr12/VISV/apps/tech_st/10.1.2/oraInst.loc
This will rollback Rolling back patch 6995251...
==>) Apply patch p16207165_10123_LINUX.zip
cd /disk2/10135/10123/16207165
opatch apply -invPtrLoc /disk2/applr12/VISV/apps/tech_st/10.1.2/oraInst.loc
==>) Apply patch p16241466_10123_LINUX.zip
cd /disk2/10135/10123/16241466
opatch apply -invPtrLoc /disk2/applr12/VISV/apps/tech_st/10.1.2/oraInst.loc
Subset patches: 8551790,
The fixes for Patch 8551790, are included in the patch currently
being installed (16241466). OPatch will roll back the subset patch(es) and
install the new patch (16241466).
--->Done above 4 patches
===>Rebuild Forms and Reports executables...
cd /disk2/applr12/VISV/apps/tech_st/10.1.2/forms/lib
[applr12@oravdba lib]$ make -f ins_forms.mk sharedlib install
cd /disk2/applr12/VISV/apps/tech_st/10.1.2/reports/lib
[applr12@oravdba lib]$ make -f ins_reports.mk install
===> Regenerate Forms and Report using adadmin
AD Administration Main Menu
--------------------------------------------------
1. Generate Applications Files menu
Generate Applications Files
----------------------------------------
1. Generate message files
2. Generate form files
3. Generate report files
4. Generate product JAR files
5. Return to Main Menu
There are now 5981 jobs remaining (current phase=admin):
0 running, 2004 ready to run and 3977 waiting.
------
The following Oracle Forms objects did not generate successfully:
bom forms/US CSTFVTLC.fmx
Try compiling the form...
frmcmp_batch userid=apps/apps module=CSTFVTLC.fmb output_file=/disk2/applr12/VISV/apps/apps_st/appl/bom/12.0.0/forms/US/CSTFVTLC.fmx module_type=form batch=no compile_all=yes
----Error-----
Compiling ON-POPULATE-DETAILS trigger on MTL_MATERIAL_TXNS_VAL_V data block...
No compilation errors.
Compiling ON-CHECK-DELETE-MASTER trigger on MTL_MATERIAL_TXNS_VAL_V data block...
Compilation error on ON-CHECK-DELETE-MASTER trigger on MTL_MATERIAL_TXNS_VAL_V data block:
PL/SQL ERROR 905 at line 10, column 19
object APPS.CST_LAYER_ACTUAL_COST_DTLS_V is invalid
PL/SQL ERROR 0 at line 10, column 5
SQL Statement ignored
---------
Refer Doc - 1610857.1 - Customer cannot compile CSTFVTLC.fmx
SOl: apply patch 9868229:R12.BOM.C
cd /disk2/10135/9868229
apply using adpatch and compile again as below and got compiled.
frmcmp_batch userid=apps/apps module=CSTFVTLC.fmb output_file=/disk2/applr12/VISV/apps/apps_st/appl/bom/12.0.0/forms/US/CSTFVTLC.fmx module_type=form batch=no compile_all=yes
------
Reports generation also Done..
Done copying files to destination.
Gathered additional statistics on 'TASK_TIMING' tables.
------------
---------------------
Post-Installation Steps for 10.1.3.5
Regenerate appsborg.zip and appsborg2.zip
Use adadmin and chose - Generate product JAR files (with no force option)
Enter your choice [5] : 4
Do you wish to force regeneration of all jar files? [No] ?
Calling /disk2/applr12/VISV/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
Removed appsborg2.cmd.
Successfully created new appsborg2.zip.
Copied appsborg2.zip from AU_TOP to AF_JLIB
---------------------------------
After starting the applications
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
In the log
/home/applr12/VISV/inst/apps/VISV_oravdba/logs/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log
--------------
14/05/15 04:13:13.702 html: Servlet error
java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.profiles.Profiles
at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:239)
at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:287)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2528)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:5006)ppsLoginRedirect.java:239
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4930)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3139)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:744)
-------------
Run autoconfig and test the upgrade.
Try running autoconfig and stop, start the db and application and try...
[applr12@oravdba scripts]$ ./adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /home/applr12/VISV/inst/apps/VISV_oravdba/admin/log/06042251/adconfig.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /home/applr12/VISV/inst/apps/VISV_oravdba
Classpath : /disk2/applr12/VISV/apps/apps_st/comn/java/lib/appsborg2.zip:/disk2/applr12/VISV/apps/apps_st/comn/java/classes
Using Context file : /home/applr12/VISV/inst/apps/VISV_oravdba/appl/admin/VISV_oravdba.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.
[applr12@oravdba scripts]$
--------------
Completed normally..
After autoconfig , application started working...
Cheers :)
------------------------