[
https://issues.apache.org/jira/browse/ONAMI-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173055#comment-14173055
]
Stephan Classen commented on ONAMI-115:
---------------------------------------
Thank you for paying close attention.
As you probably can tell by now. I'm not using the PersistenceFilter myself.
I added a test to reproduce the behavior you described and fixed the code.
Could you check out the latest SVN version and test if everything is now
working.
Thanks again
Stephan
> PersistenceFilter should be bound in Singleton scope
> ----------------------------------------------------
>
> Key: ONAMI-115
> URL: https://issues.apache.org/jira/browse/ONAMI-115
> Project: Apache Onami
> Issue Type: Bug
> Affects Versions: persist-1.0.0
> Reporter: Nick Merlo
> Assignee: Stephan Classen
> Fix For: persist-1.0.1
>
>
> Guice's servlet module requires that Filter classes be bound in the singleton
> scope. PersistenceFilter is currently not bound into such a scope which
> causes an exception to be thrown during initialization
> The binding should be bound into the scope either in PersistenceModule or by
> annotating the PersistenceFilterImpl class with @Singleton
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)