Upgrading CleverPath Reporter's JRE.

Document ID : KB000024623
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

Instructions on upgrading CleverPath Reporters version of the JRE. Specifically from 1.4.2_04 to 1.6.0_14.

Solution

  • On the PC that has CleverPath Reporter r4.2 SP1 version available go to Control Panel-> Administrative Tools->Services dialog and stop both the "CA CleverPath Reporter 4.2 Portal Enabler" and "CA CleverPath Reporter 4.2 Scheduler" services.


  • Uninstall the old JRE 1.4.2_04 present under C:\Program Files\CA\SharedComponents\Jre\1.4.2_04 folder, if you have chosen the default.


  • Install JRE 1.6.0_14 to any location of your choice.


  • Once the JRE is installed, in the System Environment Variables Dialog, as shown in the screen shot below, edit your JAVA_HOME variable to point to the latest version of JRE.



Figure 1



  • In the System Environment Variables dialog, as shown in the screen shot below, edit your PATH variable to include the path to your JRE/bin/client folder.


  • Figure 2



  • Since the product was installed with the older version of JRE, you will now need to update the following configuration files which has static references to the old version of JRE.


Open your client configuration file, Prorep.prf, in a text editor (found under ..\Program Files\CA\CleverPath Reporter\config folder) and update the "AppPathEnvironment" key found under [General Application Options] to point to the correct JRE. Save and close the editor.

AppPathEnvironment=D:\Program Files\Java\jdk1.6.0_14\jre\bin\client            

Open your server configuration file, Proserv.prf, in a text editor (found under ..\Program Files\CA\SharedComponents\CleverPath Reporter\Server\config folder) and update the "AppPathEnvironment" key found under [General Application Options] to point to the correct JRE. Save and close the editor.

AppPathEnvironment=D:\Program Files\Java\jdk1.6.0_14\jre\bin\client            

This setting tells CleverPath Reporter where to find the right jvm.dll.

Users using ERF Viewer will need to modify ErfViewer.bat file found under ..\Program Files\CA\SharedComponents\CleverPath Reporter\4.2\bin directory and C:\Program Files\CA\SharedComponents\CleverPath Reporter\Server\bin directory. Open this file in a text editor and update the path to the latest JAVA executable.

Users running reports from CleverPath Portal will need to edit the ReporterServer.bat file under ..\Program Files\CA\SharedComponents\CleverPath Reporter\Server\tomcat folder and installsvc.bat file under ..\Program Files\CA\SharedComponents\CleverPath Reporter\Server\tomcat\bin and point the JAVA_HOME variable to the latest JRE.

Note: The above files would change only if you are running Tomcat through commandline.

Since the "CA CleverPath Reporter 4.2 Portal Enabler" service was installed with the older version of JRE, you will need to change the registry setting for this particular service to load the correct jvm.dll.
Otherwise users may get the error below.

Figure 3

To fix this you will need to open your registry (Start->Run->Regedit) and go to

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\CA CleverPath Reporter 4.2 Portal Enabler\Parameters

and edit the "JVM Library" key to have the correct path to the latest jvm.dll.

Figure 4

Also you will need to set the "JVM Library" key under

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CA CleverPath Reporter 4.2 Portal Enabler\Parameters

to the correct jvm.dll.

  • You can now start both the "CA CleverPath Reporter 4.2 Portal Enabler" and "CA CleverPath Reporter 4.2 Scheduler" services.