Bug 793065 (JBEPP-147) - X11 DISPLAY variable needs to be set error display while generating pdf reports
Summary: X11 DISPLAY variable needs to be set error display while generating pdf reports
Keywords:
Status: CLOSED WONTFIX
Alias: JBEPP-147
Product: JBoss Enterprise Portal Platform 4
Classification: JBoss
Component: Portal
Version: 4.3.0.GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-30 20:21 UTC by Denzil Tarakan
Modified: 2013-01-11 01:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Linux box
Last Closed: 2011-11-17 23:17:04 UTC
Type: Task


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-147 0 Critical Closed X11 DISPLAY variable needs to be set error display while generating pdf reports 2015-05-08 00:22:19 UTC

Description Denzil Tarakan 2009-10-30 20:21:37 UTC
Complexity: Medium
Date of First Response: 2010-03-31 15:36:03
project_key: JBEPP

Our website is being built on JBoss 4.3 EPP and in our website we have links to view pdf reports. This website was initially on IBM Websphere and we are now porting to Jboss. We use Actuate jars to create pdf reports. When a view report link is clicked, we go to database get the data and provide it to Actuate where actuate paints it on its template and generates a pdf. This use to work fine in IBM websphere but now is not working on JBoss. I have pasted the stack trace below -

java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
		 sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:203)
		 com.actuate.ereport.common.Globals.getDefaultScreenResolution(Globals.java:1231)
		 com.actuate.ereport.output.OD_Preview.<clinit>(Unknown Source)
		 com.actuate.ereport.output.PageInfo.renderAllObjects(Unknown Source)
		 com.actuate.ereport.output.OD_PDF.Generate(Unknown Source)
		 com.actuate.ereport.output.OD_PDF.generate(Unknown Source)

Comment 1 Thomas Heute 2010-03-31 19:36:03 UTC
I guess this was treated in a customer ticket

Comment 3 Jared MORGAN 2011-11-17 23:17:04 UTC
Release Notes Docs Status: Added: Not Required


Comment 4 Oliver Carr 2012-08-31 12:51:27 UTC
This can be fixed by setting -Djava.awt.headless=true when starting EPP.


Note You need to log in before you can comment on or make changes to this bug.