-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have an problem in zk's application when export data to pdf format; the message error is follow:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
The application's server is tomcat 7 and running on linux ubuntu 12.04.
Thanks from Colombia.
Hello kenshin,
This has to do when a web application that does something related to graphics and you're running it on a server that isn't running a windowing system.
You need to somehow set System.setProperty("java.awt.headless", "true");
Tell the server team to start whatever Java they are starting with an additional command line parameter:
java -Djava.awt.headless=true
You could additionaly set the following system propery if X11 is installed
DISPLAY=:0.0 export DISPLAY
Best Regards,
Darksu
Asked: 2014-09-12 14:51:47 +0800
Seen: 8 times
Last updated: Sep 13 '14
ArrayIndexOuOfBoundsException showing Messagebox
error PWC2788: setAttribute: Non-serializable attribute with name javax.zkoss.zk.ui.Session
no grammar constraints (dtd or xml schema) detected for the document
ListModelList.clear() - Error in ZK Framework?
Getting wierd NullPointerException when using Shiro
Script error when doing stuff in background thread