Hi,

I am having trouble with saving the server.xml file after it has been
modified using the host-mananger and manager webapps.
I have looked through the source code of the 'admin' webapp and found
that it calls:

Registry registry = Registry.getRegistry();
MBeanServer server = Registry.getRegistry().getMBeanServer();
ObjectName sname = new ObjectName("Catalina:type=Server");
String operation = "storeConfig";
server.invoke(sname, operation, null, null);

This works when I run it from within a servlet but I was wondering if
there was a graceful way to do it using a manager / host-manager webapps
JMXProxyServlet etc?

Kind regards
James McIntosh







---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to