Re: HowTo update tomcat-users.xml without restarting tomcat
[EMAIL PROTECTED] wrote: > Hello everybody, > > I need to update the tomcat-users.xml quite often in a productive > environment. Therefore it would be nice to have a possibility to update the > file without the need for restarting tomcat. > > I tried to define the resource UserDatabase as reloadable but that didn't > work out. > Also I checked the possibilities of the tomcat manager but all the reload > functions there seem to relate only to the webapps and not to the > configuration of tomcat itself. > > Any hints what I could try next? JConsole. Every operation is exposed through JMX and you can even save your changes out to tomcat-users.xml Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HowTo update tomcat-users.xml without restarting tomcat
I think that is not possible. In production, the best option would be to use a database or LDAP directory to store your accounts. On Thu, 2008-11-27 at 10:39 +0100, [EMAIL PROTECTED] wrote: > Hello everybody, > > I need to update the tomcat-users.xml quite often in a productive > environment. Therefore it would be nice to have a possibility to update the > file without the need for restarting tomcat. > > I tried to define the resource UserDatabase as reloadable but that didn't > work out. > Also I checked the possibilities of the tomcat manager but all the reload > functions there seem to relate only to the webapps and not to the > configuration of tomcat itself. > > Any hints what I could try next? > > Thanks in advance, > Andreas > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HowTo update tomcat-users.xml without restarting tomcat
Hello everybody, I need to update the tomcat-users.xml quite often in a productive environment. Therefore it would be nice to have a possibility to update the file without the need for restarting tomcat. I tried to define the resource UserDatabase as reloadable but that didn't work out. Also I checked the possibilities of the tomcat manager but all the reload functions there seem to relate only to the webapps and not to the configuration of tomcat itself. Any hints what I could try next? Thanks in advance, Andreas