Tomcat has two webapps that come with its package. They're named
"admin" and "manager" and allow you to start/stop other webapps and see
their session information as well. Maybe this could be a start point.
But be very careful in doing this. You may even open a security hole in
your system.