Error refreshing Job Data. If problem persists, notify your iXp Administrator.
search cancel

Error refreshing Job Data. If problem persists, notify your iXp Administrator.

book

Article ID: 40492

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

Symptoms:

After logging in, the iXp GUI becomes unresponsive. We are unable to expand the job tree on left instance pane and moments later, iXp shows the following dialog:

    Error refreshing job data.
    If problem persists, notify your iXp Administrator.

Java Console shows OutofMemoryError exceptions similar to:

java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Unknown Source)
    at java.util.Arrays.copyOf(Unknown Source)
    ...
    ...
@reuse:Java heap space
java.lang.OutOfMemoryError: Java heap space
    at com.pgti.ixp.ui.flowview.FVSnapshot.<init>(FVSnapshot.java:87)
    at com.pgti.ixp.ui.flowview.FlowView.resetSnapshot(FlowView.java:631)
    at com.pgti.ixp.ui.flowview.FlowView.siteUpdate(FlowView.java:560)
    ...
    ...
java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(Unknown Source)
    at java.awt.EventQueue.invokeAndWait(Unknown Source)
    at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
    at com.pgti.ixp.ui.ixpj.DataRetriever.notifyListeners(DataRetriever.java:838)
    at com.pgti.ixp.ui.ixpj.DataRetriever.perform(DataRetriever.java:608)
    at com.pgti.ixp.ui.ixpj.DataRetriever.run(DataRetriever.java:205)
Caused by: java.lang.OutOfMemoryError: Java heap space

 

Environment:

CA Workload Automation iXp 11.3.5 on all supported platforms.

Cause:

CA Workload Automation iXp is a Java Web Start application. By default, iXp's Java Web Start or Java Network Launching Protocol (iXp.jnlp) file is configured with an initial heap and max heap of 80MB and 256MB respectively. Java Web Start (javaws) adheres to this limit and in environments where the WAAE (AutoSys) instances configured in iXp are fairly large, it starts throwing "java.lang.OutOfMemoryError: Java heap space" exceptions as the Java Virtual Machine (JVM) could possibly run out of max heap memory.

Resolution:

Update the Java Network Launching Protocol (iXp.jnlp) file to increase the maximum heap size to 1024MB.

  • On the CA Workload Automation iXp Server

Windows OS:

1. Navigate to the %CATALINA_HOME%\webapps\ixp directory.
2. Edit the iXp.jnlp file using a text editor.
3. Locate the following line:

<j2se version="1.5+" initial-heap-size="80m" max-heap-size="256m" />

    and change it to:

<j2se version="1.5+" initial-heap-size="256m" max-heap-size="1024m" />

4. Save the file.

 

UNIX / Linux:

1. Navigate to the $CATALINA_HOME/webapps/ixp directory.
2. Edit the iXp.jnlp file using a text editor (vi or vim).
3. Locate the following line:

<j2se version="1.5+" initial-heap-size="80m" max-heap-size="256m" />

    and change it to:

<j2se version="1.5+" initial-heap-size="256m" max-heap-size="1024m" />

4. Save the file.

  • On the System used to launch iXp GUI

1. Clear the Java Web Start cache using command: javaws -clearcache

2. Relaunch iXp GUI and ensure the error does not happen.

Note:

  • A restart of the iXp (Tomcat) server is NOT required for the changes to take effect.
  • Please remember to back up the iXp.jnlp file before updating.
  • In the future, applying a CA Workload Automation iXp fix might regress the changes made to the iXp.jnlp file. Hence it is advisable to back up the updated iXp.jnlp file and restore after the fix application.

Additional Information:

Java Control Panel on Windows

Enable the Java Console in the Java Control Panel

Environment

Release:
Component: ASAGT