why not?
could there be some security problems? which one?

greetings, chris

-----Original Message-----
From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 04. Juli 2002 18:33
To: [EMAIL PROTECTED]
Subject: Re: can't start cocoon under root


just for the record.  You really shouldn't run tomcat as root.  

Thomas Garger wrote:

>hi!
>
>i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0
>
>if i start tomcat under a normal user (not root) everthing works fine.
>
>but if i start tomcat under root user - and i want to access cocoon
>
>->there is an error message in my catalin.out like this:
>Xlib: connection to "212.186.159.80:0.0" refused by server
>Xlib: No protocol specified
>
>->the cocoon page puts out the following
>org.apache.cocoon.ProcessingException: Error compiling sitemap:
>java.lang.InternalError: Can't connect to X11 window server using 
>':0.0' as the value of the DISPLAY variable. .
>.
>.
>
>->my startup.sh looks as following :
>export DISPLAY=212.186.159.80:0
>BASEDIR=`dirname $0`
>$BASEDIR/catalina.sh start "$@"
>
>if i don't put in the line "export DISPLAY=212.186.159.80:0", than 
>under a normal user it's also not working
>
>why this works with a non root user and not with root?
>
>greetings, tom
>
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.html>

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

Reply via email to