When modifying a file, per best practice, it's recommended to back up the original file.
Policy Server JDK upgrade, follow the below steps:
On Windows:
- Stop the Policy Server;
- Change the SYSTEM environment variable NETE_JRE_ROOT to the new path where the new JDK version is installed, by replacing the old location;
- Change the SYSTEM environment variable NETE_JAVA_PATH to the new path where the new JDK version is installed, by replacing the old location;
- Start the Policy Server;
It is recommended to reboot the machine to ensure all the environment variables are set.
On Linux:
- Stop the Policy Server;
- In file
/{home_policy_server}/ca_ps_env.ksh
Change the value of NETE_JRE_ROOT to the new path where the new JDK version is installed, by replacing the old location;
- Start the Policy Server;
Access Gateway (SPS) JDK upgrade, follow the below steps:
- Stop the CA Access Gateway (SPS);
- Modify environment variables:
On Windows:
Modify NETE_SPS_JAVA_HOME=<location of new JDK path>, by replacing the old location in the file
\{home_sps}\proxy-engine\conf\SmSpsProxyEngine.properties
Modify SPS_JAVA_HOME=<location of new JDK path>, by replacing the old location in the file
\{home_sps}\ca_sps_env.bat
On Linux:
Modify SPS_JAVA_HOME=<location of new JDK path>, by replacing the old location in the file
/{home_sps}/ca_sps_env.sh;
- Start the CA Access Gateway (SPS);