Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-19 Thread Tom Robinson
Markus Schönhaber wrote: Tom Robinson wrote: Markus Schönhaber wrote: Just a WAG: maybe it's not really a permisson problem but the tomcat-users.xml that is somehow corrupt. If you post it's content here, we can take a look and see if we spot something obviously wrong. Yes, it's far

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-17 Thread Rainer Jung
Try if you can touch the file outside of tomcat using the same user id, that your tomcat process uses and using the exact samne path. Is there SELinux something similar on your system? Regards, Rainer - To start a new topic,

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-17 Thread dlangschied
Hi - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, February 17, 2007 12:00:25 PM Subject: Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new Try if you can touch the file outside of tomcat using

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-17 Thread Martin Gainty
- From: [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, February 17, 2007 12:26 PM Subject: Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new Hi - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users

IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Tom Robinson
-02-16 14:01:25 UserDatabaseRealm[Local]: Exception looking up UserDatabase under key UserDatabase javax.naming.NamingException: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new at org.apache.naming.NamingContext.lookup(NamingContext.java:803

RE: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Caldarale, Charles R
From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new Bizaarly tomcat wants a file called tomcat-users.xml.new when I use tomcat-users.xml? What is that about? Tomcat always updates tomcat-users.xml during startup, so

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Markus Schönhaber
Caldarale, Charles R wrote: From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new Bizaarly tomcat wants a file called tomcat-users.xml.new when I use tomcat-users.xml? What is that about? Tomcat always updates tomcat

RE: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Tom Robinson
On Feb 16, 2007 03:01 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new Bizaarly tomcat wants a file called tomcat-users.xml.new when I use tomcat-users.xml

RE: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Caldarale, Charles R
From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new I set the directory permissions back and tried to make the resource readonly but still get the exception. Am I missing something fundamental here? Are you sure

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Markus Schönhaber
Tom Robinson wrote: On Feb 16, 2007 03:18 PM, Markus=?iso-8859-1?q?Sch=F6nhaber?= [EMAIL PROTECTED] wrote: Caldarale, Charles R wrote: From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new [...] Tomcat always

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Tom Robinson
Markus Schönhaber wrote: Tom Robinson wrote: On Feb 16, 2007 03:18 PM, Markus=?iso-8859-1?q?Sch=F6nhaber?= [EMAIL PROTECTED] wrote: Caldarale, Charles R wrote: From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Markus Schönhaber
Tom Robinson wrote: You missed my other post to Chuck: Currently I have CATALINA_HOME=/usr/share/tomcat5 and: lrwxrwxrwx 1 root root 12 Jan 17 01:59 /usr/share/tomcat5/conf - /etc/tomcat5 drwxrwxr-x 4 root tomcat4 4096 Feb 16 15:06 /etc/tomcat5 I did indeed miss that, sorry. Sorry, 'my

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Tom Robinson
Markus Schönhaber wrote: Tom Robinson wrote: You missed my other post to Chuck: Currently I have CATALINA_HOME=/usr/share/tomcat5 and: lrwxrwxrwx 1 root root 12 Jan 17 01:59 /usr/share/tomcat5/conf - /etc/tomcat5 drwxrwxr-x 4 root tomcat4 4096 Feb 16 15:06 /etc/tomcat5 I did indeed miss

Re: IOException writing to /usr/share/tomcat5/conf/tomcat-users.xml.new

2007-02-16 Thread Markus Schönhaber
Tom Robinson wrote: Markus Schönhaber wrote: Just a WAG: maybe it's not really a permisson problem but the tomcat-users.xml that is somehow corrupt. If you post it's content here, we can take a look and see if we spot something obviously wrong. Yes, it's far fetched, but I'm out of