[opencms-dev] Problem with installation

Jeffrey Montgomery jrmontg at gmail.com
Tue Jun 20 20:08:48 CEST 2006


Thanks for the reply.  Yes I am using tomcat and jdk 1.5.

I added this to the top of my /opt/tomcat/bin/startup.sh file
JAVA_COMMAND -Djava.awt.headless=true

I restarted tomcat and this did NOT work.

On 6/20/06, Jonathan Woods <jonathan.woods at scintillance.com> wrote:
>
>  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.
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>


-- 
Jeffrey R. Montgomery
jrmontg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060620/29e91a46/attachment.htm>


More information about the opencms-dev mailing list