[
https://issues.apache.org/jira/browse/TRINIDAD-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564883#action_12564883
]
Gabrielle Crawford commented on TRINIDAD-891:
---------------------------------------------
You need to set this in web.xml to hit this code
<context-param>
<param-name>org.apache.myfaces.trinidad.CACHE_VIEW_ROOT</param-name>
<param-value>false</param-value>
</context-param>
Then run something like the inputDate component demo.
> Locking issues coming from restore state
> -----------------------------------------
>
> Key: TRINIDAD-891
> URL: https://issues.apache.org/jira/browse/TRINIDAD-891
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.2.4-core
> Reporter: Stevan Malesevic
> Assignee: Gabrielle Crawford
>
> org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState tries to
> load a class on every call. This is causing locking issues since SUN JVM is
> doing locking before it tries to load the class.
> It would be much better to use static member of ConcurrentHashMap to map name
> to class. This will remove the locking and speed up the processing of restore
> state
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.