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).

Този материал е лицензиран под лиценз Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported  Публикациите в Twitter™ и Facebook не попадат под клаузите на Creative Commons.

Правни бележки   |   Правила за онлайн поверителност