Hide Forgot
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)
I guess this was treated in a customer ticket
Release Notes Docs Status: Added: Not Required
This can be fixed by setting -Djava.awt.headless=true when starting EPP.