I think the problem is because tomcat4 start does a 'su' to the tomcat4 user
there is an interaction with X access control.

Try:
tomcat4 stop
(wait a few seconds for the jdks to die - watch them on top or ps)
xhost +
tomcat4 start
(wait for cocoon to start - watch your load meter - can take 20-30 seconds -
a minute or more for the first 'deployment' run on a slow box)

I think you'll be pleasantly surprised
(or unpleasantly surprised that there's suge a huge cock-up in Sun's awt :)
I'm succesfully using the alternate batik awt on a headless server .

David

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 19 December 2001 23:29
> To: cocoon-users
> Subject: Re: org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not available.
> 
> 
> Andreas:
> 
> I was having the same problem that you're having and following the
> instructions from the headless section under Tomcat 4.0
> 
> Why don't you try it and see if it works?
> 
> Another option is for you to see if you can find the stack 
> trace on your log
> directory and let us know what the error is
> 
> Whether you can believe it or not, Batik has been a frequent 
> bottleneck for
> people installing Cocon2 on Linux
> 
> Carlos
> on 12/19/01 3:17 PM, Andreas Rittershofer at 
> [EMAIL PROTECTED] wrote:
> 
> 
> 
> > I cannot believe that this is a problem of batik or X - X 
> is already running
> > on my linux box.
> > 
> > 
> > mfg ar
> 
> -- 
> ---+ Carlos Araya
>  P | WebCT Administrator/Trainer
>  _ | California Virtual Campus, Region 1
>  G | C/O De Anza College
> ---+ 21250 Stevens Creek Blvd.,
> Cupertino, CA 95014
> 
> Email:      [EMAIL PROTECTED]
> Phone:      408.257.0420
> Fax:        408.255.4406
> Web:        http://www.cvc1.org/ (work)
>             http://www.silverwolf-net.net/ (personal)
> 
> "Paradoxically, a refusal to 'put a monetary value on life' means that
> life is often undervalued."
> -- Artificial Intelligence: A Modern Approach
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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