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.
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
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