[ 
http://opencast.jira.com/browse/MH-8205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28158#comment-28158
 ] 

Adam McKenzie commented on MH-8205:
-----------------------------------

At the very beginning of the doFilter method for the JsonpFilter I added the 
following:

if (HttpServletRequest.DIGEST_AUTH.equals(request.getAuthType())) {
      request.getSession().invalidate();
}
if (request.getSession() != null) {
     
request.getSession().setMaxInactiveInterval(RestConstants.MAX_INACTIVE_INTERVAL);
}

I verified it was running and added a debug print statement that would give me 
an idea of what request was going through the filter. I set the 
MAX_INACTIVE_INTERVAL and ran 10,000 calendar requests and verified that it 
made 10,000 objects in HashSession that wouldn't go away with YourKit. 

Micah also tried something similar for a different filter and was unable to get 
it to work either. 
                
> Jetty Sessions lead to memory leak
> ----------------------------------
>
>                 Key: MH-8205
>                 URL: http://opencast.jira.com/browse/MH-8205
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Administrative Tools, Engage Tools
>    Affects Versions: 1.2, 1.3
>            Reporter: David Horwitz
>            Assignee: Adam McKenzie
>            Priority: Release Blocker
>             Fix For: 1.2.1, 1.3
>
>         Attachments: 1.2.x-HttpServletRequest.list, 
> MH-8205-Memory-Leak-Trunk.patch, trunk-HttpServletRequest.list
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to