On Thursday 18 May 2006 08:32 am, George Stoianov wrote:
Hi guys,
I am having a problem with Tomcat on SuSE 10.0 namely it will not start:
WARNING: Unexpected exception resolving reference java.io.FileNotFoundException: /usr/share/tomcat5/conf/tomcat-users.xml.new (Permission denied) <snip>
I have not made any changes to that file and the permissions on the file which the error is complaining about are set to:
ls -l /srv/www/tomcat5/base/conf/ total 96 drwxr-xr-x 3 root root 4096 2006-05-08 19:33 Catalina -rw-r--r-- 1 tomcat tomcat 6954 2005-09-12 22:20 catalina.policy -rw-r--r-- 1 tomcat tomcat 2754 2005-09-12 22:20 catalina.properties -rw-r--r-- 1 tomcat tomcat 778 2005-09-12 22:20 jk2.properties -rw-r--r-- 1 tomcat tomcat 1128 2005-09-12 22:20 server-minimal.xml -rw-r--r-- 1 tomcat tomcat 21367 2006-03-03 09:03 server.xml -rw-r--r-- 1 tomcat tomcat 2254 2006-02-13 15:20 server.xml.new -rw-r--r-- 1 tomcat tomcat 432 2006-05-10 08:48 tomcat-users.xml -rw-r--r-- 1 tomcat tomcat 38929 2005-09-12 22:20 web.xml
the conf is a symlink with the following permissions:
ls -l /srv/www/tomcat5/base/conf lrwxrwxrwx 1 root root 17 2005-11-08 10:12 /srv/www/tomcat5/base/conf -> /etc/tomcat5/base
I had run across this on some of the SLES machines running at my old work. You needed to chown the files in question to make sure the symlink was pulling a file with the correct permissions. I don't remember exactly what we did, but it was along those lines. Once done, everything worked. Also, there was some issue with the conf file being executable - something about the symlink IIRC. -- kai - www.perfectreign.com www.livebeans.com - the new NetBeans community 43...for those who require slightly more than the answer to life, the universe and everything.