[
https://issues.apache.org/jira/browse/OWB-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914211#action_12914211
]
Mark Struberg commented on OWB-457:
-----------------------------------
Hi Rohit!
I glimpsed over your patch and it looks good. While my code is smaller, yours
is much more straight forward and as such more easy to maintain I think. Will
apply it and do a bit testing.
txs and LieGrue,
strub
> 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
> 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.