Hi,
I'm using Multidirectory API in my project. In some cases I had an exception 
"org.nuxeo.ecm.directory.DirectoryException: updateConnection failed"
I'm working against version 5.2.0 ( in 5.2.1 code is the same)
The problem is in class MultiDirectorySession 
There is a piece of code which leaks sqlsessions open 
getEntry():
line 421:
                final DocumentModel entry = dirInfo.getSession().getEntry(id,
                        fetchReferences);
for getEntries:
line 472:
                final DocumentModelList entries = 
dirInfo.getSession().getEntries();

There is no code for closing sessions acquired by dirInfo.getSession() in both 
cases.
--
Posted by "[email protected]" at Nuxeo Discussions 
<http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2757#7948>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to