On Fri, 22 Nov 2002, Brandon Cruz wrote:

> Date: Fri, 22 Nov 2002 11:56:06 -0600
> From: Brandon Cruz <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Tomcat 4.1.12 Admin Application Functions without using the
>     admin interface...
>
> Hi,
> Is there a servlet or some internal tomcat class available that will tomcat
> to see changes made to server.xml?  I would like to be able to add new
> virtual hosts and contexts those hosts without having to use the admin
> application.
>
> Is this possible?
>

You'd need to write a servlet that makes the same kinds of internal calls
that the admin webapp does (via JMX MBeans) to accomplish those kinds of
things.  Don't forget to declare the webapp as privileged (and spell it
correctly :-).

>
> Brandon

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to