On Sun, Jan 11, 2015 at 10:18 AM, Felix Schumacher < felix.schumac...@internetallee.de> wrote:
> Am 11.01.2015 um 12:24 schrieb Christoph P.U. Kukulies: > >> I'm installing OpenCms 9.5.0 (www.opencms.org) under tomcat 6.0.32 and >> during setup I'm getting a warning saying that >> >> >> "Your system uses components which have not been tested to work with >> Alkacon OpenCms. It is possible that OpenCms will not run on your system. >> >> |-Djava.awt.headless=true| JVM parameter or X-Server may be missing. >> *You can continue the setup, but image processing will be disabled.* >> > This warning overstates the effect of setting headless to true. You can still do a lot with AWT and other imaging software. My servlets can, for example, create a BufferedImage, draw to it, and send the result as a PNG to the browser. They can uncompress TIFFs with JAI, create TIFF and JPEG images with Commons-Imaging, create PDFs with iText, and many other imaging tasks. What they can't do is anything that requires the DISPLAY environment variable, like get FontMetrics. I set headless to true on development and test machines because we've found systems where the Tomcat user does not always have access to the DISPLAY variable. Other times Tomcat maybe installed on a truly headless server. But there is still lots that can be done graphically. > Is this an issue that I can fix with setting Tomcats' startup parameters >> (Service under Windows 7)? >> >> You should be able to set the headless parameter in CATALINA_OPTS. > > Regards > Felix > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- "Hell hath no limits, nor is circumscrib'd In one self-place; but where we are is hell, And where hell is, there must we ever be" --Christopher Marlowe, *Doctor Faustus* (v. 121-24)