Hi, I am trying to do the following. As part of the tomcat startup I have added a listener. This listener starts a thread and that thread will open a socket connection. I am doing so to record the time taken to access and get the information from the tomcat server. If I use Jmx it is taking slightly more time, thus I am experimenting using direct socket connection.
Now I want to get the list of sessions from different contexts. Kindly, let me know how can I get list of sessions for different contexts? I guess I can get the list of sessions from StandarManager class but how to get the instant of this class for different contexts? Thanks & Regards, Harshit Daga