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 License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책