When using jfreechart in BW, get an exception:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

When using jfreechart in BW, get an exception:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

book

Article ID: KB0091457

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Please add this line into your deployed .tra file for your BW processes and try
again:
java.property.java.awt.headless=true
It enables headless mode.Headless mode is a system configuration in which graphic adapter, keyboard or mouse are lacking. For example, mainframes or dedicated servers do not support a display, keyboard or mouse. On the other hand, such environments possess a substantial computing power, which can be used for the non-visual features realization.

This property is available since JDK 1.4

Keywords :- jfreechart, BW

Issue/Introduction

When using jfreechart in BW, get an exception:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable