Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50904 invoked from network); 16 Feb 2004 05:16:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Feb 2004 05:16:32 -0000 Received: (qmail 53869 invoked by uid 500); 16 Feb 2004 05:16:10 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 53634 invoked by uid 500); 16 Feb 2004 05:16:09 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 53618 invoked from network); 16 Feb 2004 05:16:08 -0000 Received: from unknown (HELO web20420.mail.yahoo.com) (66.163.169.96) by daedalus.apache.org with SMTP; 16 Feb 2004 05:16:08 -0000 Message-ID: <20040216051619.99039.qmail@web20420.mail.yahoo.com> Received: from [203.120.68.67] by web20408.mail.yahoo.com via HTTP; Sun, 15 Feb 2004 21:16:19 PST Date: Sun, 15 Feb 2004 21:16:19 -0800 (PST) From: yangontha Maung Subject: Re: serialization to jpeg/png error To: dev@cocoon.apache.org In-Reply-To: <0E035DB3-5D22-11D8-935E-000393448476@energyintellect.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have already added export CATALINA_OPTS='-Djava.awt.headless=true' in the bash_profile file. The error still occurs. rgds, --- Mark Leicester 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