Along those same lines, what's the recommended approach for sharing one
installation of tomcat with multiple users?  
Should they each create their own server.xml and set the "home"
attribute of the ContextManager to a location beneath their home
directory, specifying the -f option to bin/startup.sh?  

What should the directory structure of that location be?  Any more than
"conf", "webapps", "logs"?

Should each user's TOMCAT_HOME refer to the shared installation
directory or their private workspace?

I tried answering "yes" to most of the above, and never could get the
log files to show up.  And I was surprised that the necessary
directories (conf, logs, etc) weren't automatically created in the
ContextManager's home.  I came to the unfortunate conclusion that tomcat
works best when each user installs tomcat in his home directory.  :-(

Anyone had better luck than me?

A Yang wrote:
> 
> Hello All,
> 
> Can anyone tell me how to set up directory permissions
> to permit running Tomcat as a non-root user?
> 
> According to previous posts in the mailing list, I
> should be using 'su - nobody' when kicking off Tomcat,
> but nobody doesn't have authorities to write to
> usr/local.
> 
> What is the best practise for setting up Tomcat?
> /usr/local/tomcat should be owned by Root shouldn't
> it? I'm running Red Hat 6.2.
> 
> Thanks,
> 
> _______________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.ca address at http://mail.yahoo.ca
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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

Reply via email to