What I have for now, after enableing JMX as descrived in
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html

I have the following code:
ObjectName name=new
ObjectName("Catalina:type=Manager,path=/test,host=localhost");
ManagementFactory.getPlatformMBeanServer().invoke(name, "listSessionIds",
null, null);

But the invocation return an emtpy string.


On 19 May 2011 15:45, chris derham <ch...@derham.me.uk> wrote:

> On Thu, May 19, 2011 at 10:33 AM, Mateu Yabar <mateu.ya...@foodreg.com
> >wrote:
>
> > After all day working on this, I'm still unable to use JMX to obtain the
> > context.
> > Please, can anyone gime me a hand?
> >
>
> Obviously if you have spent all day on it, you must have a lot of code.
> Just
> send the latest piece, with a description of how far along it gets and how
> it hasn't worked. Then we may be able to help you fix it
>
> Chris
>

Reply via email to