On 19/05/2011 15:24, Mateu Yabar wrote: > 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.
What happens when you try the same thing via JConsole? JConsole will also confirm you are using the right object name (it looks right to me). Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org