did you read the documentation????   

Linux/Headless/Batik  
   
If you are using unix with the sun jdk, it's awt implementation requires you
to use X even if you aren't actually displaying anything. One simple
solution is to use a different implementation of the awt.

>From www.eteks.com you can get an awt replacement that doesn't need X:
http://www.eteks.com/pja/en. 
Unpack the jars into a place where your jdk will be able to use them--
$JAVAHOME/jre/classes works for j2sdk1.3 
Then add to your tomcat startup script: 
   
 export CATALINA_OPTS='-Dawt.toolkit=com.eteks.awt.PJAToolkit \
  -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment \
  -Djava.awt.fonts=/usr/local/jdk/jre/lib/fonts/'
          
  
   

(CATALINA_OPTS if it's 4, TOMCAT_OPTS if it's 3)

(Re)start Tomcat and enjoy! 
 

-----Original Message-----
From: Andreas Rittershofer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 3:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Stuck with Cocoon 2.0 installation


On 31 Dec 69, at 16:35, Carlos wrote:

> Please check the installation instructions under tomcat 4.0 and the scroll
> down to where it says "headless/linux/batik" You'll need to follow those
> steps in order to get Cocoon running.
> 
> FYI, the error most likely means that Batik can't access the X server.

Do I have to run a X server in order to run Cocoon??

> 
> Carlos
> 
> on 12/19/01 12:11 PM, Andreas Rittershofer at [EMAIL PROTECTED]
> wrote:
> 
> > On 19 Dec 01, at 21:07, Martijn Bouterse wrote:
> > 
> >> Please mention your OS. There is a known issue with *nix and an X11
> >> DISPLAY not being available. But I can not tell if you suffer the same
> >> problem if you don't let us know what OS your Cocoon/Tomcat system is
> >> on.
> > 
> > It's Linux: SuSE 7.3 with kernel 2.4.10; X is installed but not running.



mfg ar

-- 
mailto:[EMAIL PROTECTED]
http://www.rittershofer.de
PGP-Public-Key http://www.rittershofer.de/ari.htm


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to