Unable to generate report using Introscope Workstation

book

Article ID: 140474

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

Attempt to run report using Introscope Workstation (10.7.0.197) connected to 10.7.0.197 MoM fails and writes following to IntroscopeEnterpriseManager.log:

11/19/19 02:24:56.504 PM GMT [DEBUG] [PO:main Mailman 7] [Manager.MessageService] Exception: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment calling method: com.wily.isengard.messageprimitives.service.MessageServiceCallMessage: {com.wily.reporting.common.IReportService.fillSmartReport, v1, [[SessionToken|key: 3373760730815984652, po: Workstation_167.client_main], SmartReportsTemplate[com.wily.introscope.util.LocalizedStringMap, {null=Kalyan_IDS}]], source: Workstation_167.client_main:1564, remoteHost: Node=Workstation_167, Address=gbmlvvcsw0725.rbsres01.net/xx.xx.xx.xx:64519, Type=socket}

        at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58)

        at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:345)

        at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77)

        at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:59)

        at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)

        at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)

        at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)

        at com.wily.introscope.server.beans.reporting.ReportServiceBean.fillSmartReport(ReportServiceBean.java:234)

 

Cause

This is due to the JVM trying to initialize the X11 environment 

Environment

Release : 10.7.0

Component : Introscope

Resolution

To prevent the problem ensure that the argument -Djava.awt.headless=true is defined for the JVM arguments in the Introscope_Enterprise_Manager.lax file e.g.

lax.nl.java.option.additional=-Xms2048m -Xmx2048m -Djava.awt.headless=true -Dmail.mime.charset=UTF-8 -Dorg.owasp.esapi.resources=./config/esapi -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./logs/  -Xss512k


This is the same root cause but with a different symptom as described in the following KB

https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=38190