-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Casper,

On 2/10/12 2:20 AM, Casper Wandahl Schmidt wrote:
> Well at least I don't have to restart tomcat for the changes to
> take effect :) Maybe I would take some time to look at how tomcat
> reads from server.xml and how the host-manager works and perhaps
> find a way to persist the changes :) Any clues as to where to look
> for that part of the code?

The host manager webapp is in the main part of the TC code, but it's
all contained in a single package: org/apache/catalina/manager/host.
It's 3 classes, one of which looks like it's nothing but constants.

It should be fairly clear how the host manager is doing its work, but
re-writing XML is a risky business because most people don't like to
lose the comments and spacing, etc. that they have explicitly put into
their configuration files.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk81PJEACgkQ9CaO5/Lv0PD07gCfYsVGZfu+YqUiRrnFXx4eZBzs
IOAAoJxFIoUnjuY8gTAx/brXxZkpaIEq
=xMt0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to