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:
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.JFreeChartLevel: 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.
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