directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Closed: (DIRSERVER-324) CoreContextFactory keeps reference to resources after shutdown
Date Sat, 21 Apr 2007 11:10:16 GMT


Emmanuel Lecharny closed DIRSERVER-324.

Closing all issues created in 2005 and before which are marked resolved

> CoreContextFactory keeps reference to resources after shutdown
> --------------------------------------------------------------
>                 Key: DIRSERVER-324
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Stephane Bailliez
>         Assigned To: Alex Karasulu
> I'm trying to build apacheds on windows and tests fails because it is unable to delete
database files created during tests.
> Here is the typical stacktrace I get when running tests:
> Unable to delete file: target\apacheds\apacheUpdn.lg
> Unable to delete file: target\apacheds\apacheUpdn.lg
> 	at
> 	at
> 	at
> 	at org.apache.ldap.server.AbstractCoreTest.doDelete(
> 	at org.apache.ldap.server.AbstractCoreTest.setUp(
> 	at org.apache.ldap.server.authn.SimpleAuthenticationTest.setUp(
> As far as I can see, it might be because org.apache.ldap.server.jndi.CoreContextFactory
keeps references to SystemPartition, GlobalRegistries and RootNexus which themselves hold
references to JDBMDatabase which probably hold references to db files.
> The shutdown command does not close and clean these references which does not show under
linux when doing a brute force file directory deletion, but with windows as it is not possible
to delete files which handles are not released it might be the cause of the problem.
>  I'm investigating but I'm missing a lot of the logic behind it and the problem might
go even deeper.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message