You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andres Taborda <at...@saludcolombiaeps.com.co> on 2004/02/21 16:04:03 UTC

problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27

Hello,


I have problems with serializer svg to jpeg
The examples ...cocoon/samples/hello-world/hello.jpg
not display in mozilla.

open the file logs core.log and message is
[core.manager] 
cocoon/samples/hello-world/hello.jpg)Thread-38/ExcaliburComponentSelector: 
UnnamedSelector: ComponentSelector could not find the component

can help me.

Thank's very much,


-- 
Cordialmente,

Andres Taborda
Departamento de Sistemas
http://www.saludcolombiaeps.com.co
email:ataborda@saludcolombiaeps.com.co
SaludColombia E.P.S.. - Una Sola Familia
Calle 5C # 43-05 B. Tequendama
Telefono : 57 (002) 551 04 89 - 57 (002) 551 04 90
Cali - Colombia


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


Re: problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27

Posted by yangontha Maung <th...@yahoo.com>.
Hi,

Thanks a lot! Now it works.
In fact I have inserted the following line in
cocoon.sh file.


  JAVA_OPTIONS='-Djava.awt.headless=true'

Now, it is working.

thanks & rgds,




--- Simon Mieth <si...@t-online.de> wrote:
> On Mon, 23 Feb 2004 02:03:02 -0800 (PST)
> yangontha Maung <th...@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
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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


Re: problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27

Posted by Simon Mieth <si...@t-online.de>.
On Mon, 23 Feb 2004 02:03:02 -0800 (PST)
yangontha Maung <th...@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


Re: problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Andres:

Can you upgrade to Cocoon 2.1.4?

Best Regards,

Antonio Gallardo

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