How to resolve pdm_tomcat.log "connection refused" errors when Java Auto Update runs?

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

Symptoms:

 

Attachments, Web Services and CA Workflow may fail if the Java Auto Update records this error in the pdm_tomcat.log:


Catalina.stop: java.net.ConnectException: Connection refused: connect java.net.ConnectException: Connection refused: connect

 

Resolution:

There are two ways of resolving the error based on the way Java gets updated.

 

Scenario 1: Java Runtime Environment gets installed on the C drive without updating the jre 1.4.2_06 provided by ServiceDesk.

  1. Java gets downloaded and installed as a new install on the C drive. There will be a folder labeled "C:\Program Files\Java"

  2. Go to Start->Control Panel->Add/Remove Programs and the "Java Update" will be listed.
    See Figure 1:

    Figure 1:
    Figure 1

  3. Click on Remove and complete the uninstall.

  4. Update the PATH environment variable by removing the path.
    Right Click My Computer->Properties->Advanced->Environment Variables
    Select the Path System variable and click on Edit.
    Delete the path pointing to Java. Ex: C:\Program Files\Java\jre1.6.0_07
    Click on OK to save the changes. See Figure 2.

    Figure 2:
    Figure 2

  5. Reboot the server.
    After the reboot, the JRE present under C:\Program Files\CA\SharedComponents\JRE\1.4.2_06 will be used.
    The Connection refused error will not appear in the pdm_tomcat.log file.

 

Scenario 2: Java updated auto updates JRE 1.4.2_06 to a later version.

  1. If the Java Auto Update upgrades JRE 1.4.2_06 to a newer version, the new version will be listed under Add/Remove Programs.

  2. Go to Start->Control Panel->Add/Remove Programs and Java Update will be listed. Click on Remove and complete the uninstall.

  3. Reboot the server.

  4. Open Internet Explorer and navigate to the following URL:
    http://java.sun.com/j2se/1.4.2/download.html

  5. Click on Download J2SE JRE under J2SE v1.4.2_18 JRE, see Figure 3.

    Figure 3:
    Figure 3
    Note: _18 indicates the Day Light Savings Patch for Java.

  6. Select the Platform as Windows and Language as Multilanguage and click on Continue (See Figure 4).

    Figure 4:
    Figure 4

  7. Download j2re-1_4_2_18-windows-i586-p.exe (See Figure 5).

    Figure 5:
    Figure 5

  8. Run the installer and complete the installation.

  9. Reboot the server.

 

The Connection refused error should no longer appear in the pdm_tomcat.log file.