Re: Sudden and unexpected exception at Tomcat startup

2008-12-31 Thread Rainer Jung
On 28.12.2008 14:01, André Warnier wrote: Hi. Does someone have an idea of what is going as per the logfile catalina.out below ? What is this IOException all about ? This is a Tomcat 5.0.x under Suse Enterprise Linux 10.1, which had been working fine until now and suddenly logs this at

Re: Sudden and unexpected exception at Tomcat startup

2008-12-29 Thread André Warnier
Alan Chaney wrote: [...] Hi. I found the reason, and apologise for waisting everyone's time. Thanks for the tips anyway, they helped. It was a simple diskspace issue. Unknown to me, someone created a huge backup file in the directory /mnt, part of the / filesystem, and filled up this

Re: Sudden and unexpected exception at Tomcat startup

2008-12-29 Thread Gregor Schneider
Hi André, good to hear that you got the issue solved. On Mon, Dec 29, 2008 at 10:55 AM, André Warnier a...@ice-sa.com wrote: If anything, I feel that the log message is not very clear : 2008-12-28 13:21:58,548 [main] WARN org.apache.naming.NamingContext - Unexpected exception resolving

Sudden and unexpected exception at Tomcat startup

2008-12-28 Thread André Warnier
Hi. Does someone have an idea of what is going as per the logfile catalina.out below ? What is this IOException all about ? This is a Tomcat 5.0.x under Suse Enterprise Linux 10.1, which had been working fine until now and suddenly logs this at startup. This Tomcat runs under an IBM JVM

Re: Sudden and unexpected exception at Tomcat startup

2008-12-28 Thread Gregor Schneider
Well, the exception looks like, as if somebody has tried to change the name of the user-realm from /srv/www/tomcat5/base/conf/tomcat-users.xml to /srv/www/tomcat5/base/conf/tomcat-users.xml.new . AFAIK Tomcat will never ever change configuration-files, except creating new context-definitions when

Re: Sudden and unexpected exception at Tomcat startup

2008-12-28 Thread André Warnier
Thanks for your answer and tips. Gregor Schneider wrote: Well, the exception looks like, as if somebody has tried to change the name of the user-realm from /srv/www/tomcat5/base/conf/tomcat-users.xml to /srv/www/tomcat5/base/conf/tomcat-users.xml.new . Do you have any idea where one would do

Re: Sudden and unexpected exception at Tomcat startup

2008-12-28 Thread Gregor Schneider
André, it lookes as if Tomcat indeed tries to write to a file tomcat-users.xml.new as indicated in this thread: http://mail-archives.apache.org/mod_mbox/tomcat-users/200508.mbox/%3c4381.80.136.127.17.1122968130.squir...@mailserver.kippdata.de%3e That's really new to me, and I don't see any

Re: Sudden and unexpected exception at Tomcat startup

2008-12-28 Thread Alan Chaney
Hi Andre Tomcat DOES in fact rewrite the tomcat-users.xml file during startup. This has been mentioned on this list several times as being insecure but the general opinion is that you should not be using the MemoryUserDatabaseRealm in production. Actually, I found that not only does it