directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark-nospam <temp1...@debusschere.com>
Subject ApacheDS : shutdown fails to complete cleanly M20,M19
Date Sat, 13 Jun 2015 15:17:54 GMT
I have ADS embedded in a simple loader application. After switching to M20, the JVM doesn't
exit when it should. 


This was working in M17. I ran a few tests with no connections in this case it appears to
start / stop cleanly. 

I tried M19 same issue with threads not exiting. 



After shutdown and main thread exits but there are a few threads remaining with one spinning
in what looks like the MS runtime endthread. 

The loader only uses two threads which both report ending and the thread id's aren't related
to remaining threads. 



I am running Win64 with java 1.7.0.55 also tested with 1.7.80 



Any suggestions ? 



2015-06-08 09:18:57,426 INFO [j.ApacheDSLoader] - Calling service.stop() on ApacheDsService,
threadId=1 

2015-06-08 09:18:57,449 INFO [org.apache.directory.server.ldap.LdapServer] - Unbind of an
LDAP service (10389) is complete. 

2015-06-08 09:18:57,449 INFO [org.apache.directory.server.ldap.LdapServer] - Sending notice
of disconnect to existing clients sessions. 

2015-06-08 09:18:57,450 INFO [org.apache.directory.server.ldap.LdapServer] - Unbind of an
LDAP service (10389) is complete. 

2015-06-08 09:18:57,450 INFO [org.apache.directory.server.ldap.LdapServer] - Sending notice
of disconnect to existing clients sessions. 

2015-06-08 09:18:57,450 INFO [org.apache.directory.server.ldap.LdapServer] - Ldap service
stopped. 

2015-06-08 09:18:57,450 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
+++ DirectoryService Shutdown required 

2015-06-08 09:18:57,450 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
--- Syncing the nexus 

2015-06-08 09:18:57,450 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
--- Flushing everything before quitting 

2015-06-08 09:18:58,328 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
--- Syncing the changeLog 

2015-06-08 09:18:58,328 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
--- Destroying the nexus 

2015-06-08 09:19:04,894 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
--- Deleting the cache service 

2015-06-08 09:19:04,894 INFO [org.apache.directory.server.core.api.CacheService] - clearing
all the caches 

2015-06-08 09:19:04,988 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
---Deleting the DnCache 

2015-06-08 09:19:04,988 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
+++ DirectoryService stopped 

2015-06-08 09:19:04,988 INFO [j.ApacheDSLoader] - main thread end. threadId=1 



Another possibly related issue, sometimes during shutdown I see the following output as the
last line. It appears another thread 

is also calling stop after the stop process has completed. 



2015-06-08 09:18:57,450 DEBUG [org.apache.directory.server.core.DefaultDirectoryService] -
+++ DirectoryService Shutdown required 




-Mark. 








Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message