Re: adding a virtual host with jmx

2008-09-02 Thread Olivier Vergès
they should live. You can get the values for the loader and registry by hooking up a JMX console to your existing Tomcat. Olivier Vergès [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi all, I'm creating a web application for auto deploying virtual host through apache

Re: adding a virtual host with jmx

2008-09-02 Thread Olivier Vergès
I've found these * ObjectName loader = new ObjectName(Catalina:type=ServerClassLoader,name=common); ** MBeanServer server = java.lang.management.ManagementFactory.getPlatformMBeanServer(); * but registry is not in my JMX. O.V 2008/9/2 Olivier Vergès [EMAIL PROTECTED] yeah i've

Re: adding a virtual host with jmx

2008-09-02 Thread Olivier Vergès
it works in part, i have done this to add a ssoagentvalve: * String vname = Catalina:type=Valve,name=SSOAgentValve,host= + nameVH; ObjectName ovalve = new ObjectName(vname); Object valve = server.instantiate(org.josso.tc60.agent.SSOAgentValve);

Re: adding a virtual host with jmx

2008-09-01 Thread Olivier Vergès
will automagically add the new elements to where they should live. You can get the values for the loader and registry by hooking up a JMX console to your existing Tomcat. Olivier Vergès [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi all, I'm creating a web application for auto

Re: adding a virtual host with jmx

2008-07-31 Thread Olivier Vergès
by hooking up a JMX console to your existing Tomcat. Olivier Vergès [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi all, I'm creating a web application for auto deploying virtual host through apache and tomcat on a production server. Everything is ok except for the Tomcat

adding a virtual host with jmx

2008-07-30 Thread Olivier Vergès
hi all, I'm creating a web application for auto deploying virtual host through apache and tomcat on a production server. Everything is ok except for the Tomcat part: As tomcat can't be reloaded and as i can't restart anytime I want, I 've heard jmx was great cause it was possible to modify a