The HTML Manager is a central point for managing an instance of Tomcat. This tool can be greatly improved by displaying active sessions for each webapp, as done in my open-source tool MessAdmin http://messadmin.sourceforge.net I have back-ported and integrated part of this tool to Tomcat's HTML Manager (please see attached patch), and am willing to give this code to the Apache Tomcat team. Please note this patched manager is already used in production sites, so there should be no problem of bugs or stability. Do not hesitate to contact me directly in case you need more information!
Created attachment 18482 [details] patch file and additional sources
Cedrik, thank you for your contributions. They're greatly appreciated. However, we ask that contributors submit their patches in diff -u format against existing class files. The one big ZIP file contains a lot of things, and it's hard to evaluate how it would fit int existing Tomcat code as well as possible bugs / merge conflicts. I also suggest you diff against the latest stable release on the branch you want, e.g. 5.5.23 for the 5.5 branch or 6.0.10 for the 6.0 branch. Thanks ;)
Created attachment 19966 [details] diff for org.apache.catalina.manager.HTMLManagerServlet.java This patch works along with the additional source files, as published in the next attachment.
Created attachment 19967 [details] Additional source files Additional source files: * Java classes in the "JavaSource" folder * JSP files in the "WebContent" folder
Those last 2 attachments (19966 and 19967) are against the Tomcat 5.5.23 source. There is one modified file (in "diff -u" format) and additional support classes/JSPs. I didn't have time to port this to Tomcat 6.x, but I believe it should be straightforward. Ping me if needed, and I'll be happy to help.
I tentatively committed this submission in the 6.0.x branch. Thanks.
Closing as FIXED. As per comment 6, implementation of this feature is included in Tomcat 6 and later. Backport to Tomcat 5.5 is unlikely. Thank you.