cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Mieth <simon.mi...@t-online.de>
Subject Re: problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27
Date Mon, 23 Feb 2004 10:24:36 GMT
On Mon, 23 Feb 2004 02:03:02 -0800 (PST)
yangontha Maung <thirimon55@yahoo.com> wrote:

> Hi,
> 
> I would like to add something.
> Conversion from svg to jpeg/png is not working
> properly in the sample files. But I believe it is not
> cocoon problem. It is the java setting, where we need
> to add -Dawt.headless=true property.
> 
> Usually I can add in the .bash_profile file for normal
> java programs. But for cocoon related programs, I am
> not sure where to add.
> 
> So when I try to convert svg to jpeg/png, until now, I
> cannot do it.
> 
> It has happened in 2.1.3 and 2.1.4 too. I am running
> cocoon on RedHat Linux 9.0 with Java 1.4.2.
> 
> rgds,
> 

Hi,

you can edit the startup.sh script from tomcat and add
something like this:


JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"

export JAVA_OPTS


Best Regrads,

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message