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");
org.apache.tomcat.util
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 PRO
me, null},> > new String[]> >
> {"java.lang.Object","java.lang.String","java.lang.String"});> >
> server.setAttribute(ohost, new Attribute("appBase", appBase));> > // Set
> more attributes, and aliases etc here> > // Things li
>// Start your contexts here, if you don't have automatic deployment set.
>
> As long as you follow Tomcat's naming conventions for ObjectNames, invoking
> "start" will automagically add the new elements to where they should live.
> You can get the values fo
contexts here, if you don't have automatic deployment set.
>
> As long as you follow Tomcat's naming conventions for ObjectNames, invoking
> "start" will automagically add the new elements to where they should live.
> You can get the values for the "loader" a
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 run