Hi, I have already added export CATALINA_OPTS='-Djava.awt.headless=true' in the bash_profile file.
The error still occurs. rgds, --- Mark Leicester <[EMAIL PROTECTED]> wrote: > Your issue is probably related to this: > http://cocoon.apache.org/2.1/installing/index.html#UNIX+with+X+server > and, > http://cocoon.apache.org/2.1/installing/index.html#Headless+UNIX+and+PJA > > Specifically, use this option: > -Djava.awt.headless=true > > I hope this helps, > Mark > > On 12 Feb 2004, at 02:39, yangontha Maung wrote: > > > http://myserver:8888/samples/batik/hello.jpeg > > > > I am using cocoon 2.1.3 on Red Hat Linux 9.0; > Tomcat > > 5.0.18. > > > > I try to view the samples and when I view svg, it > is > > OK. > > But when I click the jpeg and png links, there is > an > > error message. > > > > > > The image > > �http://myserver:8888/samples/batik/hello.jpeg� > cannot > > be displayed, because it contains errors. > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Finance: Get your refund fast by filing > online. > > http://taxes.yahoo.com/filing.html > __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html
