Ben Stover wrote: > As far as I noticed all comments in tomcat-users.xml > > are striped off after Tomcat started. > > How do I prevent this deletion of comments (permanently)?
In server.xml, add readonly="true" to the UserDatabase <Resource>, for example: <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" readonly="true" /> Regards mks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]