From forrest-dev-return-8428-apmail-xml-forrest-dev-archive=xml.apache.org@xml.apache.org Tue Dec 23 05:59:46 2003 Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 78650 invoked from network); 23 Dec 2003 05:59:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Dec 2003 05:59:45 -0000 Received: (qmail 17449 invoked by uid 500); 23 Dec 2003 05:59:24 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 17297 invoked by uid 500); 23 Dec 2003 05:59:23 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 17286 invoked from network); 23 Dec 2003 05:59:23 -0000 Received: from unknown (HELO rwcrmhc13.comcast.net) (204.127.198.39) by daedalus.apache.org with SMTP; 23 Dec 2003 05:59:23 -0000 Received: from rivendell (c-24-6-181-255.client.comcast.net[24.6.181.255]) by comcast.net (rwcrmhc13) with SMTP id <200312230559320150067tgme>; Tue, 23 Dec 2003 05:59:33 +0000 Message-ID: <007801c3c91a$4d5a92e0$6701a8c0@rivendell> From: "Carlos Araya" To: References: <3FE7BF1C.3060100@fastmail.fm> <001a01c3c90a$d72d44f0$6701a8c0@rivendell> <3FE7D552.9050806@fastmail.fm> Subject: Re: Exception in fresh install of forrest 0.5.1 Date: Mon, 22 Dec 2003 22:02:08 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0072_01C3C8D7.3E35E870" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 This is a multi-part message in MIME format. ------=_NextPart_000_0072_01C3C8D7.3E35E870 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I found the following in the cocoon FAQ.=20 http://cocoon.apache.org/2.1/faq/faq-configure-environment.html#faq-N100E= 9 It's a Java issue with the BATIK library used to generate graphics IF you're using JDK 1.4 or higher, you can also use = -Djava.awt.headless=3Dtrue when starting the JDK like this: java -Djava.awt.headless=3Dtrue=20 With Tomcat you can also pass the JDK option as part of the = configuration file. Carlos ----- Original Message -----=20 From: "jjdscss" To: Sent: Monday, December 22, 2003 21:40 Subject: Re: Exception in fresh install of forrest 0.5.1 > On 12/23/2003 12:11 PM, Carlos Araya wrote: >=20 > >Are you running in headless mode? This is a known issue with Cocoon = trying > >to geneerate images. It should be listed in the Cocoon and, I = believe, > >Forrest FAQ > > =20 > > >=20 > Yes. I'm running in headless mode, with no xserver packages installed. = > Is there a configuration setting somewhere? >=20 > >----- Original Message -----=20 > >From: "jjdscss" > >To: > >Sent: Monday, December 22, 2003 20:05 > >Subject: Exception in fresh install of forrest 0.5.1 > > > > > > =20 > > > >>Am using Redhat 9.0. I just untarred a binary of forrest 0.5.1 and > >>adjusted the environment variables FORREST_HOME, JAVA_HOME and PATH > >>accordingly. I created a new directory and ran forrest seed > >>successfully. But when I ran forrest, it created the document tree > >>partially but hanged after the directory listings. > >> > >>... > >>* [0] 0.039s 2.3Kb samples/subdir/index.pdf > >>* [0] 0.0030s 766b /favicon.ico > >>* [0] 0.015s 1.1Kb images/add.jpg > >>* [0] 2.585s 0b images/project.png > >>Exception in thread "main" java.lang.InternalError: Can't connect to = X11 > >>window server using ':0.0' as the value of the DISPLAY variable. > >>... > >> at org.apache.cocoon.Cocoon.process(Cocoon.java:640) > >> at > >>org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:535) > >> at > >>org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:521) > >> at = org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:372) > >> at org.apache.cocoon.Main.main(Main.java:401) > >> > >>Does forrest require X to be running? or is there a way to disable = the > >>dependency so that it won't hang? > >> > >> > >> =20 > >> > > > > =20 > > >=20 > ------=_NextPart_000_0072_01C3C8D7.3E35E870 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I found the following in the cocoon FAQ. =
http://cocoon.apache.org/2.1/faq/faq-configure-environment= .html#faq-N100E9
 
It's a Java issue with the BATIK library used = to=20 generate graphics
 
IF you're using JDK 1.4 or higher, you can = also use=20 -Djava.awt.headless=3Dtrue when starting the JDK like this:
 
java -Djava.awt.headless=3Dtrue
 
With Tomcat you can also pass the JDK option = as part of=20 the configuration file.
 
Carlos
----- Original Message -----
From: "jjdscss" <jjdscss@fastmail.fm>
To: <forrest-dev@xml.apache.org>
Sent: Monday, December 22, 2003 = 21:40
Subject: Re: Exception in fresh install of = forrest=20 0.5.1

> On = 12/23/2003=20 12:11 PM, Carlos Araya wrote:
>
> >Are you running in = headless=20 mode? This is a known issue with Cocoon trying
> >to geneerate = images.=20 It should be listed in the Cocoon and, I believe,
> >Forrest=20 FAQ
> > 
> >
>
> Yes. I'm running = in=20 headless mode, with no xserver packages installed.
> Is there a=20 configuration setting somewhere?
>
> >----- Original = Message=20 -----
> >From: "jjdscss" <
jjdscss@fastmail.fm>
>=20 >To: <
forrest-dev@xml.apache.org>
> >Sent: Monday, December 22, 2003 = 20:05
>=20 >Subject: Exception in fresh install of forrest 0.5.1
> = >
>=20 >
> > 
> >
> >>Am using Redhat = 9.0. I=20 just untarred a binary of forrest 0.5.1 and
> >>adjusted the = environment variables FORREST_HOME, JAVA_HOME and PATH
>=20 >>accordingly. I created a new directory and ran forrest = seed
>=20 >>successfully. But when I ran forrest, it created the document=20 tree
> >>partially but hanged after the directory = listings.
>=20 >>
> >>...
> >>* [0]   0.039s=20 2.3Kb   samples/subdir/index.pdf
> >>* = [0]  =20 0.0030s 766b    /favicon.ico
> >>* = [0]  =20 0.015s 1.1Kb   images/add.jpg
> >>* = [0]   2.585s=20 0b      images/project.png
> = >>Exception in=20 thread "main" java.lang.InternalError: Can't connect to X11
>=20 >>window server using ':0.0' as the value of the DISPLAY = variable.
>=20 >>...
> >>        = at=20 org.apache.cocoon.Cocoon.process(Cocoon.java:640)
>=20 >>        at
>=20 >>org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:5= 35)
>=20 >>        at
>=20 >>org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:5= 21)
>=20 >>        at=20 org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:372)
>=20 >>        at=20 org.apache.cocoon.Main.main(Main.java:401)
> >>
> = >>Does=20 forrest require X to be running? or is there a way to disable = the
>=20 >>dependency so that it won't hang?
> >>
>=20 >>
> >>   
> >>
>=20 >
> > 
> >
>
> = ------=_NextPart_000_0072_01C3C8D7.3E35E870--