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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Jon</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a>
[mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="mailto:opencms-dev@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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>