"An unexpected error has occurred" while loading DLP Traffic or Dashboard page(s) in Enforce
search cancel

"An unexpected error has occurred" while loading DLP Traffic or Dashboard page(s) in Enforce

book

Article ID: 213568

calendar_today

Updated On:

Products

Data Loss Prevention Data Loss Prevention Enforce

Issue/Introduction

Enforce unable to load TRAFFIC or DASHBOARD pages (System > Servers and Detectors > Traffic) or (Incidents > Dashboard)

When attempting to open desired page, the user is logged off the console and are presented with the message:

Error: An unexpected error has occurred. Contact your system administrator if this problem persists.

The localhost log contains entries as follow:

For Traffic:

Level: SEVERE
Source: org.apache.catalina.core.ContainerBase.[Catalina
Message: Servlet.service() for servlet [action] in context with path [/ProtectManager] threw exception [Could not initialize class org.jfree.chart.JFreeChart] with root cause
Cause:
java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChartjava.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart
 
Level: SEVERE
Source: org.apache.catalina.core.ContainerBase.[Catalina
Message: Servlet.service() for servlet [action] in context with path [/ProtectManager] threw exception [Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.] with root cause
Cause:
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
 
For Dashboard:
 
Source: org.apache.catalina.core.ContainerBase.[Catalina
Message: Servlet.service() for servlet [action] in context with path [/ProtectManager] threw exception [java.security.PrivilegedActionException: javax.servlet.ServletException: Could not initialize class org.jfree.chart.JFreeChart] with root cause
Cause:
java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChartjava.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart
 at org.jfree.chart.ChartFactory.createStackedXYAreaChart(ChartFactory.java:1700)
 at com.vontu.manager.report.chart.trend.IncidentTrendChartCreator.generateBigIncidentsTrendChart(IncidentTrendChartCreator.java:119)
 at com.vontu.manager.report.chart.ReportChartGenerator.generateIncidentTrendChart(ReportChartGenerator.java:224)
 at com.vontu.manager.report.incidentlist.IncidentListPage.generateIncidentTrendChart(IncidentListPage.java:469)
 at com.vontu.manager.report.incidentlist.endpoint.IncidentListPortletGenerator.generateReportBusinessObjects(IncidentListPortletGenerator.java:79)
 at com.vontu.manager.report.generators.ReportObjectGenerator.generateContentObjects(ReportObjectGenerator.java:71)
 at com.vontu.manager.ui.generator.ContainerObjectGenerator.generate(ContainerObjectGenerator.java:92)
 at com.vontu.manager.struts.BusinessObjectTransformer.generateBusinessObjects(BusinessObjectTransformer.java:270)
 at com.vontu.manager.struts.BusinessObjectTransformer.transformPortlet(BusinessObjectTransformer.java:354)
 at com.vontu.manager.struts.dashboard.DashboardPortletExecutor.generateReportPage(DashboardPortletExecutor.java:135)
 at com.vontu.manager.struts.dashboard.DashboardPortletExecutor.executePortlet(DashboardPortletExecutor.java:100)
 at com.vontu.manager.struts.dashboard.DashboardMaker$DashboardXMLBuilder.addPortlet(DashboardMaker.java:201)
 at com.vontu.manager.struts.dashboard.DashboardMaker.makeDashboard(DashboardMaker.java:91)
 at com.vontu.manager.struts.dashboard.XSLTDashboardAction.execute(XSLTDashboardAction.java:129)
 at sun.reflect.GeneratedMethodAccessor556.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.vontu.manager.struts.transactions.AllowsTransactionalProxy.invoke(AllowsTransactionalProxy.java:96)
 at com.sun.proxy.$Proxy628.execute(Unknown Source)
 
Level: WARNING
Source: com.vontu.manager.struts.transactions.AllowsTransactionalProxy
Message: Exception thrown by class com.vontu.manager.struts.dashboard.XSLTDashboardAction.execute

Environment

  • Symantec Data Loss Prevention (DLP) 15.8
  • The Enforce is installed on RHEL 7.x.
  • Enforce on Windows is unaffected

Resolution

The below workaround has been shown to resolve this issue. There are two methods to implement the workaround:

Method 1:

Manually edit configuration file and restart DLP Manager Service:

As root:

1. vi SymantecDLPManager.conf
2. set wrapper.java.additional.7 = -Djava.awt.headless=true
3. Restart manager service.

Method 2:

Use the below script to update SymantecDLPManager.conf

#!/bin/bash

yes | /bin/cp /opt/Symantec/DataLossPrevention/EnforceServer/Services/SymantecDLPManager.conf /opt/Symantec/DataLossPrevention/EnforceServer/Services/SymantecDLPManager.conf.BAK

sed -i 's/Djava.awt.headless=false/Djava.awt.headless=true/' /opt/Symantec/DataLossPrevention/EnforceServer/Services/SymantecDLPManager.conf

service SymantecDLPManagerService restart

exit 0

If the above does not resolve the issue, open a case with Broadcom Technical Support