Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #36141 All Revisions ] Back to Issue ]
Summary 0036141: stateful WS calls create HttpSessions that live till Tomcat kills them
Revision 2017-05-30 17:12 by alostale
Steps To Reproduce 1. Enable debug logging in org.openbravo.erpCommon.security.SessionListener
2. Execute 1000 times http://localhost:8080/openbravo/ws/dal/Country/100 [^]
   -> Check logs: 1000 sessions are created and kept
3. Stop Tomcat
   -> Check logs: there are 100 lines like:
d05203b3 2550326 [localhost-startStop-2] INFO org.openbravo.erpCommon.security.SessionListener - Deactivated session: 4BC123C1CC9F40C0BCD387BBA1DD5179
4. Take a memory dump
   -> Check there are 1000 retained session objects retaining up to ~900KB
Revision 2017-05-30 17:10 by alostale
Steps To Reproduce 1. Enable debug logging in org.openbravo.erpCommon.security.SessionListener
2. Execute 100 times http://localhost:8080/openbravo/ws/dal/Country/100 [^]
   -> Check logs: 100 sessions are created and kept
3. Stop Tomcat
   -> Check logs: there are 100 lines like:
d05203b3 2550326 [localhost-startStop-2] INFO org.openbravo.erpCommon.security.SessionListener - Deactivated session: 4BC123C1CC9F40C0BCD387BBA1DD5179


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker