Re: Writing MemoryUserDatabase on Startup

2005-08-02 Thread Remy Maucherat
Rainer Jung wrote: Hi Remy, so would it be OK, if I produce a patch, that cares about the Exception and logs a message instead? I could make that configurable if you think there is too much danger for a user to loose changes because he was able to start tomcat and didn't notice the database w

Re: Writing MemoryUserDatabase on Startup

2005-08-02 Thread Rainer Jung
Hi Remy, so would it be OK, if I produce a patch, that cares about the Exception and logs a message instead? I could make that configurable if you think there is too much danger for a user to loose changes because he was able to start tomcat and didn't notice the database was not writable. I

Re: Writing MemoryUserDatabase on Startup

2005-08-02 Thread Remy Maucherat
Rainer Jung wrote: Hi, I wonder, why /org/apache/catalina/users/MemoryUserDatabaseFactory.java saves the MemoryUserDatabase directly after opening it: public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception { ... // Return

Writing MemoryUserDatabase on Startup

2005-08-02 Thread Rainer Jung
Hi, I wonder, why /org/apache/catalina/users/MemoryUserDatabaseFactory.java saves the MemoryUserDatabase directly after opening it: public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception { ... // Return the configured datab