directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: Bug in Shutdown?
Date Thu, 02 Dec 2010 16:27:19 GMT
On 12/2/10 5:22 PM, Doug Tillman wrote:
> It seems that during service.shutdown() a call is made into the DN class
> to get the name to shut down.  Unfortunately, the call to getName
> returns upName but the value called for the lookup to shut down a
> partition has already been removed using the normName which though they
> are different values refer to the same partition.  So, the partition is
> already removed but there is still a key that is stored that references
> the removed partition - when the shutdown call tries to remove the
> partition it can't be found (DefaultPartitionNexus 965).  This is a
> roundabout way of saying that the shutdown manifests a  bug which is
> really in the DefaultNexusPartition.initializeSystemPartition() call
> that invokes DN.getName instead of DN.getNormName - see line 335.
> Of course, we could have erred when we tracked into the source so I've
> pasted the trace below.  The start up is fine and we're able to do a
> lookup so it seems that we've initialized the service and server
> correctly.  It would be "extremely" helpful if this is a bug if it could
> be remedied quickly.
Sounds like a bug... Worth filling a JIRA with extra informations like 
ADS version.

Thanks for having dig the code !

Emmanuel L├ęcharny

View raw message