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"); org.apache.tomcat.util

Re: adding a virtual host with jmx

2008-09-02 Thread Olivier Vergès
es >> to the official business of Sender. This transmission is of a confidential >> nature and Sender does not endorse distribution to any party other than >> intended recipient. Sender does not necessarily endorse content contained >> within this transmission. > Date: Mon, 1 Se

Re: adding a virtual host with jmx

2008-09-02 Thread Olivier Vergès
ed > within this transmission. > Date: Mon, 1 Sep 2008 21:57:55 +0200> From: > [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: adding > a virtual host with jmx> > hi,> so i'm using tomcat 6.0.15.> > I'm trying > now to add a josso valve:

RE: adding a virtual host with jmx

2008-09-01 Thread Martin Gainty
dorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Mon, 1 Sep 2008 21:57:55 +0200> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: adding a virtual host with jmx> > hi

Re: adding a virtual host with jmx

2008-09-01 Thread Olivier Vergès
hi, so i'm using tomcat 6.0.15. I'm trying now to add a josso valve: always by jmx. I don't get your lines, in fact... Could you please help me a little more? O.V 2008/7/31 Bill Barker <[EMAIL PROTECTED]> > It's a lot of lines of code, but not that hard. You haven't mentioned your >

Re: adding a virtual host with jmx

2008-07-31 Thread Olivier Vergès
oh sorry I've forgot, i'm using tomcat 6.0. Thx for your help... but like i didn't know the english expression "on the fly", i wasn't able to find docs. now, yes... and i've found. so org.apache.catalina.Mbeans is full of useful functions (like createStandardHost...) (I've spent a lot of time to f

Re: adding a virtual host with jmx

2008-07-30 Thread Bill Barker
It's a lot of lines of code, but not that hard. You haven't mentioned your Tomcat version, so I'll give a sort of generic setup. ObjectName loader = getServerLoader(); // depends on the settings and version ObjectName registry = getRegistry(); // depends on the settings and version