6 JAVA Upgrade
Note:
From CRR 8.1.2.10.0 onwards, JAVA11 is supported with the below mentioned web servers:- Weblogic 14.1.x.x
- Apache Tomcat 9.0.xx
Existing web servers have to be re-configured/re-installed with JAVA11.
Configuring Existing JAVA8 environments
To upgrade from JAVA8 to JAVA11, follow these steps:
- Install the JAVA11 in the server.
- Use the below command to list the files and note the file names.
(Change the JAVA path accordingly).grep -r -l '/scratch/jdk1.8.0_161'
Note:
The above command must be executed in the $FICHOME. - Modify the listed files from JAVA8 to JAVA11.
- Use the below command to change from JAVA8 to JAVA11.
grep -r -l 'OLDPATH/jdk1.8.0_161' . | sed "s|^|\"|g" | sed "s|$|\"|g" | xargs sed -i "s|OLDPATH/jdk1.8.0_161|NEWPATH/jdk-11.0.11|g"
(Change the JAVA paths accordingly).
- Update the JAVA8 path with JAVA11 in the .profile.
- Re-create and Re-deploy the OFSAA EAR/WAR file and Restart the OFSAA app server and web server.
Configuring New JAVA11 environments
To create a new environment with JAVA11, follow these steps:
- Configure and complete the installation of CRR 8.1.2.10.0 with
JAVA11.
Note:
Do not bring up the environment until CRR 8.1.2.10.0 is applied and configured. - Follow the steps from Pre-Installation for applying CRR 8.1.2.10.0.