[opencms-dev] Problem with installation

Jonathan Woods jonathan.woods at scintillance.com
Tue Jun 20 19:52:52 CEST 2006


You need to make sure that the Java process running your web container
(Tomcat?) is started with the parameter java.awt.headless=true, which means
that when certain image processing operations are carried out (e.g. dynamic
resizing of images returned to the browser) it won't try to initialise a
display environment.
 
If you were invoking Java directly, you could just supply the parameter on
the command line using the -D argument.  But since you're probably using a
script to run Tomcat (or whatever) you can achieve the same thing by
specifying an environment variable.  Here's where I stop being helpful - I
can't remember the right form to use!  Try setting a variable named
java.awt.headless    to the value   true   - it might be as simple as that.
 
Jon

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jeffrey Montgomery
Sent: 20 June 2006 18:37
To: opencms-dev at opencms.org
Subject: [opencms-dev] Problem with installation


On step two I am getting the error
Image Processing: failed!

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.

Can someone please help me resolve.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060620/1d805da6/attachment.htm>


More information about the opencms-dev mailing list