<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=285193418-20062006><FONT face=Arial
color=#0000ff size=2>Sorry; out of ideas. But if you're not planning on
using the <cms:img> tag for a while - it's hardly vital - you could carry
on until some helpful soul provides the right answer.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Jeffrey
Montgomery<BR><B>Sent:</B> 20 June 2006 19:09<BR><B>To:</B> The OpenCms mailing
list<BR><B>Subject:</B> Re: [opencms-dev] Problem with
installation<BR></FONT><BR></DIV>
<DIV></DIV>Thanks for the reply. Yes I am using tomcat and jdk
1.5.<BR><BR>I added this to the top of my /opt/tomcat/bin/startup.sh
file<BR>JAVA_COMMAND -Djava.awt.headless=true<BR><BR>I restarted tomcat and this
did NOT work. <BR><BR>
<DIV><SPAN class=gmail_quote>On 6/20/06, <B class=gmail_sendername>Jonathan
Woods</B> <<A
href="mailto:jonathan.woods@scintillance.com">jonathan.woods@scintillance.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Jon</FONT></SPAN></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:opencms-dev-bounces@opencms.org"
target=_blank>opencms-dev-bounces@opencms.org</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:opencms-dev-bounces@opencms.org"
target=_blank>opencms-dev-bounces@opencms.org</A>] <B>On Behalf Of </B>Jeffrey
Montgomery<BR><B>Sent:</B> 20 June 2006 18:37<BR><B>To:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:opencms-dev@opencms.org"
target=_blank>opencms-dev@opencms.org</A><BR><B>Subject:</B> [opencms-dev]
Problem with installation<BR></FONT><BR></DIV></DIV>
<DIV><SPAN class=e id=q_10bf293ddcc5ff58_1>
<DIV></DIV>On step two I am getting the error<BR>Image Processing:
failed!<BR><BR>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.
<P><CODE>-Djava.awt.headless=true</CODE> JVM parameter or X-Server may be
missing.<BR><B>You can continue the setup, but image processing will be
disabled.</B></P>
<P>Can someone please help me resolve.<BR></P><BR></SPAN></DIV>
<DIV></DIV></DIV><BR><BR>_______________________________________________<BR>This
mail is sent to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please visit<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.opencms.org/mailman/listinfo/opencms-dev"
target=_blank>http://lists.opencms.org/mailman/listinfo/opencms-dev</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Jeffrey R. Montgomery<BR><A
href="mailto:jrmontg@gmail.com">jrmontg@gmail.com</A><BR></BODY></HTML>