Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap

2005-08-04 Thread Rainer Jung
CVS head now includes an improvement: 1) If the directory containing tomcat-users.xml is not writeable you will get a nice warning instead of a strange exception. 2) You can configure the MemoryUserDatabase with the attribute readonly=true. Then there will be not write attempt at all.

Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap

2005-08-02 Thread Darryl L. Miles
MC Moisei wrote: java.io.FileNotFoundException: /usr/local/tomcat/tomcat_home/conf/tomcat-users.xml.new (Permission denied) at java.io.FileOutputStream.open(Native Method) This smells like its calling for write access to the DIRECTORY /usr/local/tomcat/tomcat_home/conf/ (not the

HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap

2005-08-01 Thread MC Moisei
Hi, I manage to configure my tomcat with jsvc(common-daemon) and everything work great till I start to launch it as root. If I run it as tomcat user it does work great. If I try to run it as root from command prompt or from init.d I get the following exception ( see below ) Right are given