You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2010/09/24 01:12:33 UTC

[jira] Resolved: (OWB-457) we must not create a SessionContext for static resource reqeusts

     [ https://issues.apache.org/jira/browse/OWB-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-457.
-------------------------------

    Fix Version/s: 1.0.0-alpha-3
       Resolution: Fixed

> we must not create a SessionContext for static resource reqeusts
> ----------------------------------------------------------------
>
>                 Key: OWB-457
>                 URL: https://issues.apache.org/jira/browse/OWB-457
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.0.0-alpha-3
>
>         Attachments: OWB-457.patch, OWB-457_rohitk.patch
>
>
> we currently trigger the creation of a new session in WebBeansConfigurationListener#requestInitialized. 
> This leads to unnecessarily creating tons of SessionContexts if a static resource like an image gets requested.
> We should seek a way to either configurably exclude paths from this mechanism or to only create the SessionContext if a SessionContext gets requested inside the BeanManager

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