-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave,
David Kerber wrote: > Christopher Schultz wrote: >> You could store your preferences in a JNDI context. >> >> If you use <env-entry> in your web.xml instead of using <context-param> >> or something else, then they will be automatically loaded into the >> directory on startup, so you get your default values. > > Yes, that's how I'm doing it, but changing the values in the <env-entry> > requires bouncing tomcat for my webapp to see the changes, unless > there's something I'm missing there. You are using <context-param>? Right: don't do that. Instead, use <env-entry> and use JNDI to get your preferences. Don't cache them anywhere... always get them from JNDI. Using a JNDI browser (or something quick you write yourself), you can change the values in the JNDI context which should affect the operation of your webapp. No restart required, as long as you don't cache those preferences anywhere. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFuM0o9CaO5/Lv0PARAscqAJ4k9nHG4gpecbFhqjOjphYEe72TagCeKD9B nht4SGPeJSF+8BJQx5LOPd8= =LDLe -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]