Nachum, Sagi wrote: > After inquiring a little I discovered that the tomcat-users.xml file > located at conf directory is empty. > After I replaced this file with a valid one, the problem was solved. I > saw some more messages in this and other forums that regard this > problem. > And here's my question: > > I don't want to need to replace this file every time the computer > crashes unexpectedly, how can I prevent this file from being corrupted?
You can prevent a recent Tomcat 5.5 from writing tomcat-users.xml by setting readonly="true" on the Resource element in server.xml where the UserDatabase is defined. But if you can't prevent your machine from unexpectedly shutting down, wether or not tomcat-users.xml get destroyed might be your smallest problem. Regards mks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]