Tuesday, August 26, 2014

Degrading JAVA Version


First check whether the instance is UP or DOWN (The Target instance where you are going to upgrade the java version)

It is mandatory that the target instance should be in UP state when you are going to upgrade the JAVA Version.

[root@server2 ~]# cd /usr/java/
[root@server2 java]# ls

You will find the rpm package as follows
jdk-1.6.0_26-fcs.i586.rpm
jdk-1_5_0_08-linux-i586.rpm

Now uninstall the existing JAVA Version before you install the required JAVA with the following command
[root@server2 java]# rpm –e <rpm file name>

Now Install the required JAVA with the following command
[root@server2 java]# rpm –ivh <rpm file name>

After the installation has finished
Connect to winscp as the target’s application user and navigate to the following path to find the CONTEXT_FILE

For 11i: $APPL_TOP/admin and find the .xml file.

For R12: $APPL_TOP/admin and find the .xml file.

Now open the ndev_oraapps.xml file and replace all the occurrence of the old version with new one as follows

Find: /usr/java/jdk1.6.0_26
Replace: /usr/java/jdk1.5.0_08
Now save the file and exit the winscp
Now run the autoconfig file.

No comments:

Post a Comment

IAS Cache initialization failed

 Today I faced an Issue in R12.2 instance. The solution I followed to overcome the issue is very simple, but they are more than one solution...