When you request an image from your CQ instance, the error.log contains an error similar to the following:

*ERROR* Component: Error in cqImage java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment( at java.awt.image.BufferedImage.createGraphics( at at at<init>(

Or, during instance startup you have an error in your error.log similar to the following:

08.05.2007 13:40:28 *ERROR* graphics: hasGraphics: getLocalGraphicsEnvironment throws java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.


Set a special JVM parameter to tell Java that the system does not have a graphical subsystem. Add the following line in your JVM parameters:


Additional information

These errors can occur when the server does not have a graphical subsystem (UNIX without X).

Ez a munka a Creative Commons Nevezd meg!-Ne add el!-Így add tovább! 3.0 Unported licenc alatt lett közzétéve.  A Twitter™ és Facebook közzétételeket a Creative Commons jogi feltételei nem szabályozzák.

Jogi közlemények   |   Online adatvédelmi nyilatkozat