15.8 traffic page logs users out.
search cancel

15.8 traffic page logs users out.

book

Article ID: 213679

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

issue when attempting to use the traffic report.  Anytime I access the report I get an unexpected error page in the GUI (tried various browsers).  In the logs the following error in my localhost tomcat logs for my install.

09 Apr 2021 17:58:41,019- Thread: 114 SEVERE [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ProtectManager].[action]] 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

        at org.jfree.chart.ChartFactory.createTimeSeriesChart(ChartFactory.java:1918)

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.

Environment

Release : 15.8

Component :  DLP Manager

Cause

in the new openJRE it is expecting x11 to be installed in certain areas.

Resolution

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

 

Additional Information

Script to automate the change:

#!/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 start

echo ?

exit 0