Tech Tip: SLA reports portlet doesn't generate full report in pdf format

Document created by PeteBennett Employee on Dec 2, 2016Last modified by SamCreek on Dec 17, 2016
Version 4Show Document
  • View in full screen mode

Document ID:  TEC1957354
Last Modified Date:  11/11/2016
Hide Technical Document Details

Products

  • CA Unified Infrastructure Management

Releases

  • CA Unified Infrastructure Management:Release:8.1

Components

  • UIM - SLA_ENGINE:UIMSLA
Issue:

The customer is using the  slareports portlet and if fails to create the full sla report in pdf format. After selecting the desired report and clicking on the "View as pdf" button, the url "http://../slareports/UMPReportExportServlet" starts to generate the required report but after running for some time (more than 1 minute) the returned file is empty

Environment:
UIM and UMP 8.x
Cause:

The root cause can be seen in the wasp.log at the time the user tried to export the report to pdf:

ERROR [http-80-5, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/slareports].[UMPReportExportServlet]] invoke() Servlet.service() for servlet UMPReportExportServlet threw exception 
ERROR [http-80-5, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/slareports].[UMPReportExportServlet]] java.lang.OutOfMemoryError: Java heap space 
at java.util.Arrays.copyOf(Unknown Source) 
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) 
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) 
at java.lang.AbstractStringBuilder.append(Unknown Source) 
at java.lang.StringBuffer.append(Unknown Source) 
<snip>

The error is caused by the report being larger then the available Java Memory for the wasp probe. 

 

Resolution:

Attachments

    Outcomes