Hi, In this topic we will Upgrade JDK and JRE version in EBS R12.2.9
================================================================================================================
upgrading JDK to latest version
Using the Latest JDK 7.0 Update with Oracle E-Business Suite Release 12.2 (Doc ID 1530033.1)
Deploying JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 (Doc ID 393931.1)
Latest Java SE Patch Updates on MOS (Doc ID 1414485.1)
Supported Java SE Downloads on MOS (Doc ID 1439822.1)
download latest JDK and JRE patches
33416559 Oracle JRE 7 Update 321 19-OCT-2021
33416555 Oracle JDK 7 Update 321 19-OCT-2021
OS Check Before Prepare:
root@ebsprodapp3:~# cat /etc/release
Oracle Solaris 11.4 SPARC
Copyright (c) 1983, 2020, Oracle and/or its affiliates. All rights reserved.
Assembled 26 March 2020
root@ebsprodapp3:~#root@ebsprodapp3:~# uname -a
SunOS ebsprodapp3 5.11 11.4.20.4.0 sun4v sparc sun4v
root@ebsprodapp3:~#
root@ebsprodapp3:~# prtconf
System Configuration: Oracle Corporation sun4v
Memory size: 391680 Megabytes
System Peripherals (Software Nodes):
prtconf: devinfo facility not available
root@ebsprodapp3:~#
root@ebsprodapp3:~# pkg info entire
Name: entire
Summary: entire incorporation including Support Repository Update
(Oracle Solaris 11.4.20.4.0).
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported system.
For more information see:
https://support.oracle.com/rs?type=doc&id=2433412.1
Category: Meta Packages/Incorporations
State: Installed
Publisher: solaris
Version: 11.4 (Oracle Solaris 11.4.20.4.0)
Branch: 11.4.20.0.1.4.0
Packaging Date: Thu Mar 26 17:29:32 2020
Last Install Time: Wed Oct 14 20:51:30 2020
Size: 2.52 kB
FMRI: pkg://solaris/entire@11.4-11.4.20.0.1.4.0:20200326T172932Z
root@ebsprodapp3:~#
Current JDK and JRE Version
[applmgr@ebsdevapp ~]$ $ADJVAPRG -version
java version "1.7.0_85"
Java(TM) SE Runtime Environment (build 1.7.0_85-b15)
Java HotSpot(TM) Server VM (build 24.85-b06, mixed mode)
[applmgr@ebsdevapp ~]$
[oracle@ebsdevdb ~]$ $ORACLE_HOME/appsutil/jre/bin/java
-version
java version "1.7.0_251"
Java(TM) SE Runtime Environment (build 1.7.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 24.251-b08, mixed mode)
[oracle@ebsdevdb ~]$
Stop
Application an unzip all patches:
adstpall.sh
apps/apps
unzip p33416555_170321_LINUX.zip -d /u02/ftp
unzip p33416555_170321_Linux-x86-64.zip -d /u02/ftp
unzip p33416559_170321_Linux-x86-64.zip -d /u02/ftp
Section
3: Upgrading to Latest Java 7.0 on Application Tier Nodes:
Step 3.5: Upgrading Java Home Used With Oracle E-Business Suite Release 12.2
3.5.2.1. Install New JDK 7.0 and Replace the Existing JDK Home Contents
Common_top JDK upgrade both 32 and 64 bit
32 bit JDK upgrade in common_top:
[applmgr@ebsdevapp ~]$ mv
$COMMON_TOP/util/jdk32 $COMMON_TOP/util/jdk32_old
[applmgr@ebsdevapp ~]$ tar
-xvzf /u02/ftp/jdk-7u321-linux-i586.tar.gz -C $COMMON_TOP/util
[applmgr@ebsdevapp ~]$ mv
$COMMON_TOP/util/jdk1.7.0_321 $COMMON_TOP/util/jdk32
64 bit JDK upgrade in common_top:
[applmgr@ebsdevapp ~]$ mv
$COMMON_TOP/util/jdk64 $COMMON_TOP/util/jdk64_old
[applmgr@ebsdevapp ~]$ tar
-xvzf /u02/ftp/jdk-7u321-linux-x64.tar.gz -C $COMMON_TOP/util
[applmgr@ebsdevapp ~]$ mv
$COMMON_TOP/util/jdk1.7.0_321 $COMMON_TOP/util/jdk64
Section
4: Upgrading to Latest Java 7.0 in Oracle Fusion Middleware 11g Web Tier:
Step 4.2: Replace JDK Home Used in the Web Tier of Oracle Fusion Middleware 11g Home
webtier jdk upgrate with - 64 bit
[applmgr@ebsdevapp ~]$ mv
$FMW_HOME/webtier/jdk
$FMW_HOME/webtier/jdk_old
[applmgr@ebsdevapp ~]$ tar
-xvzf /u02/ftp/jdk-7u321-linux-x64.tar.gz -C $FMW_HOME/webtier
[applmgr@ebsdevapp ~]$ mv
$FMW_HOME/webtier/jdk1.7.0_321 $FMW_HOME/webtier/jdk
Section 5: Upgrading to Latest Java 7.0 in OracleAS 10.1.2
Oracle_Home
Step 5.2: Replace JDK Home Used With Oracle E-Business Suite Release 12.2
ORACLE HOME JDK upgrade - 32bit JDK
Step 5.3: OracleAS 10.1.2 Prerequisite Patches (Linux Only)
$ORACLE_HOME/OPatch/opatch lsinventory | grep 16271876
$ORACLE_HOME/OPatch/opatch lsinventory | grep 17907988
$ORACLE_HOME/OPatch/opatch lsinventory | grep 17653437
$ORACLE_HOME/OPatch/opatch lsinventory | grep 16241466
$ORACLE_HOME/OPatch/opatch lsinventory | grep 17645157
[applmgr@ebsdevapp ~]$ mv
$ORACLE_HOME/jdk $ORACLE_HOME/jdk_old
[applmgr@ebsdevapp ~]$ tar
-xvzf /u02/ftp/jdk-7u321-linux-i586.tar.gz -C $ORACLE_HOME
[applmgr@ebsdevapp ~]$ mv
$ORACLE_HOME/jdk1.7.0_321 $ORACLE_HOME/jdk
Section 5.3 (verify all the patches mentioned in the DOC)
Step 5.3: OracleAS 10.1.2 Prerequisite Patches (Linux Only)
echo $ORACLE_HOME
/u01/UAT/fs2/EBSapps/10.1.2
$ORACLE_HOME/OPatch/opatch lsinventory | grep 16271876
$ORACLE_HOME/OPatch/opatch lsinventory | grep 17907988
$ORACLE_HOME/OPatch/opatch lsinventory | grep 17653437
$ORACLE_HOME/OPatch/opatch lsinventory | grep 16241466
$ORACLE_HOME/OPatch/opatch lsinventory | grep 17645157
Section 5.4
Step 5.4: Rebuild Forms and Reports Executables (For UNIX/Linux Only)
Note: If you have relinked forms/reports when applying one-off patches in Step 5.3, you can skip this section.
Source the environment to point to the 10.1.2 Oracle Home before relinking forms and reports executables.
. ~/EBSapps.env run
echo $ORACLE_HOME
/u01/UAT/fs2/EBSapps/10.1.2
cd $ORACLE_HOME/forms/lib
make -f ins_forms.mk sharedlib install
cd $ORACLE_HOME/reports/lib
make -f ins_reports.mk install
Section
9: Upgrading to Latest JRE 7.0 on Database Tier Node:
Database Tier Jre upgrade:
[oracle@ebsdevdb ~]$ echo $ADJVAPRG
[oracle@ebsdevdb ~]$ mv
$ORACLE_HOME/appsutil/jre $ORACLE_HOME/appsutil/jre_old
[oracle@ebsdevdb ~]$ tar
-xvzf /u02/ftp/jre-7u321-linux-x64.tar.gz -C $ORACLE_HOME/appsutil
[oracle@ebsdevdb ~]$ mv
$ORACLE_HOME/appsutil/jre1.7.0_321 $ORACLE_HOME/appsutil/jre
Section
7: Verify Application Tier Node Configurations:
[applmgr@ebsdevapp ~]$ $ADJVAPRG
-version
java version "1.7.0_321"
Java(TM) SE Runtime Environment (build 1.7.0_321-b08)
Java HotSpot(TM) Server VM (build 24.321-b08, mixed mode)
[applmgr@ebsdevapp ~]$
[oracle@ebsdevdb ~]$ $ORACLE_HOME/appsutil/jre/bin/java
-version
java version "1.7.0_321"
Java(TM) SE Runtime Environment (build 1.7.0_321-b08)
Java HotSpot(TM) 64-Bit Server VM (build 24.321-b08, mixed mode)
[oracle@ebsdevdb ~]$
Section
8: Synchronize the Run File System and the Patch File System
run autoconfig on database tier and application tier
[applmgr@ebsdevapp ~]$ adautocfg.sh
export TIMEDPROCESS_TIMEOUT=-1
export CONFIG_JVM_ARG="-Xms1024m -Xmx2048m"
export CONFIG_JVM_ARG="-Xms2048m -Xmx4096m"
echo $CONFIG_JVM_ARG
[applmgr@ebsdevapp ~]$ adop phase=fs_clone
Section For Core Database check
[oracle@coredb-server~]$ $ORACLE_HOME/jdk/bin/java -version
[java version "1.8.0_351
Java(TM) SE Runtime Environment (build 1.8.0_351-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.351-b10, mixed mode)
[oracle@coredb-server~]$
Delete old java folders after few days if everything working fine:
du -sh $COMMON_TOP/util/jdk32_old
du -sh $COMMON_TOP/util/jdk64_old
du -sh $FMW_HOME/webtier/jdk_old
du -sh $ORACLE_HOME/jdk_old
du -sh $FMW_HOME/utils/bsu/cache_dir
pwd
rm -rf $COMMON_TOP/util/jdk32_old
rm -rf $COMMON_TOP/util/jdk64_old
rm -rf $FMW_HOME/webtier/jdk_old
rm -rf $ORACLE_HOME/jdk_old
rm -rf $FMW_HOME/utils/bsu/cache_dir/*
pwd
Thanks for Reading
Regards,
Mohammed Areefuddin.
Suggested Topics :
Linux | DATABASE | RMAN | RAC | EBS |
R1229 M7 Clone | ||||
RAC DataGuard | Pluggable DB Clone | |||
appsutil for DB | ||||
JDK JRE upgrade | ||||
Add EBS Node | ||||
No comments:
Post a Comment