[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: list all active HTTP-Sessions

2006-09-22 Thread thomas78
I already found the error - the getSessionAttribute method returns a String ... :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973498#3973498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973498 ___

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - list all active HTTP-Sessions

2006-09-20 Thread thomas78
Hi, I tried to view all acitve HTTP-Sessions. but I get an very strange error: here is the code i used: MBeanServer server = MBeanServerLocator.locateJBoss(); | ObjectName oname = new ObjectName("jboss.web:type=Manager,path=/,host=localhost"); | | String sessionids = (String)server.i