[ 
https://issues.apache.org/jira/browse/DIRSERVER-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Selcuk Aya updated DIRSERVER-1649:
----------------------------------

    Attachment: cursor.diff

Fixed the issue by closing the cursor in a finally close in 
SubEntryInterceptor.java and closing the contained cursor in DupsContainer.java

> Cursor leak at SubEntryInterceptor and DupsContainter.java
> ----------------------------------------------------------
>
>                 Key: DIRSERVER-1649
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1649
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>            Reporter: Selcuk Aya
>         Attachments: cursor.diff
>
>
> While working on jdbm, found out that SubEntryInterceptor.java does not close 
> the cursor at all some times.  Also, at other times, even if the cursor is 
> closed, it is not closed under a finally clause and there might be a cursor 
> leak when an exception is thrown while cursor is moved back and forth. 
> The other issue is with DupsContainer.java. When it is closed, the contained 
> cursor should be closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to