Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0-M20
-
None
-
None
Description
To reproduce:
- svn update to the -M21-SNAPSHOT
- Unpack an archive apacheds
- Tune your $ADS_HOME/insances/default/conf/log4j.properties as follows:
log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=ALL log4j.logger.org.apache.directory.server.config=INFO log4j.logger.org.apache.directory.server.UberjarMain=ALL
- From $ADS_HOME
cd instances/default/; rm -rf .dirservice.lock partitions/* cache/* log/* run/* run/.s* syncrepl-data/*; cd ../..; bin/apacheds.sh start
- In a separate window
- tail -f $ADS_HOME/instances/default/log/apacheds.out
- Import the attached .ldif files (i dont think the specifics of the ldif files matters)
- apacheds.sh stop
This is not 100% of the time, but if done fairly close together, you should see the log look something like this:
[16:22:23] INFO [org.apache.directory.server.UberjarMain] - Stopping the service. [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - +++ DirectoryService Shutdown required [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Syncing the nexus [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Flushing everything before quitting [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Syncing the changeLog [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Destroying the nexus [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - --- Deleting the cache service [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - ---Deleting the DnCache [16:22:23] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - +++ DirectoryService stopped [16:22:23] INFO [org.apache.directory.server.UberjarMain] - Service stopped successfully. [16:22:43] DEBUG [org.apache.directory.server.core.DefaultDirectoryService] - +++ DirectoryService Shutdown required
And you can see that the last log message was 10's of seconds after the initial shutdown request.