You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/09/11 01:41:57 UTC

[jira] Commented: (GERONIMO-4574) PolicyContext handler data objects are never released

    [ https://issues.apache.org/jira/browse/GERONIMO-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753901#action_12753901 ] 

David Jencks commented on GERONIMO-4574:
----------------------------------------

This should work OK in 2.2 since the way handler data works was reimplemented (GERONIMO-4766)

> PolicyContext handler data objects are never released
> -----------------------------------------------------
>
>                 Key: GERONIMO-4574
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4574
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.1.4, 2.2
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>
> PolicyContext.setHandlerData() sets a given object on the thread. In Geronimo Jetty and Tomcat code this is called to set the HttpServletRequest object as the policy handler data. The problem is, that there is no call to unset the handler data object from the thread. That causes the HttpServletRequest objects (and its references) to stay in memory longer then necessary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.