forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Araya" <car...@cvc.edu>
Subject Re: Exception in fresh install of forrest 0.5.1
Date Tue, 23 Dec 2003 06:02:08 GMT
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 generate graphics

IF you're using JDK 1.4 or higher, you can also use -Djava.awt.headless=true when starting
the JDK like this:

java -Djava.awt.headless=true 

With Tomcat you can also pass the JDK option as part of 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 0.5.1


> On 12/23/2003 12:11 PM, Carlos Araya wrote:
> 
> >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
> >  
> >
> 
> Yes. I'm running in headless mode, with no xserver packages installed. 
> Is there a configuration setting somewhere?
> 
> >----- Original Message ----- 
> >From: "jjdscss" <jjdscss@fastmail.fm>
> >To: <forrest-dev@xml.apache.org>
> >Sent: Monday, December 22, 2003 20:05
> >Subject: Exception in fresh install of forrest 0.5.1
> >
> >
> >  
> >
> >>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?
> >>
> >>
> >>    
> >>
> >
> >  
> >
> 
> 
Mime
View raw message