using Mbeans with tomcat

2010-01-31 Thread Nikita Manohar
Hi!

I want to know if I can access and configure web.xml at runtime using Mbeans
and Jconsole. Actually, I want to dynamically change the security constraint
element to toggle entire web application between http and https.
Please help!

Thanks
Nikita


Re: using Mbeans with tomcat

2010-01-31 Thread Mark Thomas
On 31/01/2010 10:12, Nikita Manohar wrote:
 Hi!
 
 I want to know if I can access and configure web.xml at runtime using Mbeans
 and Jconsole. Actually, I want to dynamically change the security constraint
 element to toggle entire web application between http and https.
 Please help!

That isn't going to work (at the moment). The necessary methods aren't
exposed via JMX.

If you wanted to look at exposing them, it shouldn't be too tricky.

Mark



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