没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > sessionmon |
sessionmon
|
3 | 0 | 43 |
贡献者 | 讨论 | 代码提交 |
What is SessionMon?SessionMon is a utility that lets you analyze, test and monitor Servlet sessions at any point in your application's workflow. With this tool, fixing your HTTP session related bugs, performance lag, memory over usage, and replication issue are much less painful.
Using SessionMon is quick and easy. To get started, all you need to do is download sessionmon.zip file and deploy SessionMon Servlet in your application. Sweet!
RequirementsJava Runtime Environment version 1.4 and above Java Servlet Specification 2.3 and above FeaturesUser friendly graphical interface (Access via API also available) Servlet session dump in HTML, XML and JSON format Session ID Number of other active sessions Number of session attributes Latest session attribute update time List of attributes in session Attribute name Attribute object type Non-serializable object indicator Attribute toString value Approximate size (in bytes) of attribute's entire data graph rooted at the object instance Size (in bytes) of attribute in serialized form Total approximate size (in bytes) of all session attributes' entire data graph rooted at the object instance Total size (in bytes) of all session attributes in serialized form Session creation time Session last accessed time Maximum inactive interval in seconds Is new session Session management tester Session replication test in your clustered environment: Analyze replication synchronization and delay. Session invalidation test Future Enhacements Monitoring of session data and replication with E-Mail notification Dump and run tests on all active sessions Getting StartedDownload and save sessionmon.jar into your lib directory along with the dependency JARs that are bundled in the ZIP file. Edit your web.xml to deploy SessionMon Servlet and listeners like this:
sessionmon.SessionListener
sessionmon.SessionAttributeListener
SessionMonServlet
sessionmon.SessionMonServlet
enabled
true
server_node_addresses
http://localhost:8080,http://localhost:8081
SessionMonServlet
/sessionmon/*
Navigate to a point/page of your application workflow where you want to monitor session in your favorite web browser. Access SessionMonServlet from the same browser used in previous step. GUI: http://your-host/your-application/sessionmon JSON Dump: http://your-host/your-application/sessionmon?command=dump&type=json XML Dump: http://your-host/your-application/sessionmon?command=dump&type=xml Please refer to the Wiki page on how to access SessionMon via API.
ScreenshotsScreenshot #1: Session Dump
Screenshot #2: Session Replication Test