[
http://jira.nuxeo.org/browse/NXP-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Grisel resolved NXP-3017.
---------------------------------
Resolution: Fixed
http://hg.nuxeo.org/nuxeo/nuxeo-platform/rev/a3c11adf8893
> Fix DirectoryManagerBean bad concurrency management when closing sessions
> -------------------------------------------------------------------------
>
> Key: NXP-3017
> URL: http://jira.nuxeo.org/browse/NXP-3017
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Directory
> Affects Versions: 5.1.6, 5.2 M3
> Reporter: Olivier Grisel
> Assignee: Olivier Grisel
> Priority: Major
> Fix For: 5.1.7, 5.2 M4
>
>
> When using pages with heavy directory usage (such as forms with many
> vocabulary access) with several concurrent users one can get the following
> crash:
> Caused by: org.nuxeo.ecm.directory.DirectoryException: Could not find
> directory name while rebuilding session with id: 1
> at
> org.nuxeo.ecm.platform.directory.ejb.DirectoryManagerBean.getSession(DirectoryManagerBean.java:107)
> at
> org.nuxeo.ecm.platform.directory.ejb.DirectoryManagerBean.close(DirectoryManagerBean.java:127)
> at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
> This is due to the fact that the sessions maps are static while the session
> counter is not. A proposed patch will be attached in comments.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets