directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake <jnelso...@yahoo.com>
Subject Embedded webapp shutdown issue
Date Tue, 22 Apr 2008 22:07:41 GMT
Hi, I am using ApacheDS 1.0.2 with Tomcat 5.5.20 and followed your embedded webapp example.
Everything works great except for the server shutdown. ApacheDS appears to shutdown correctly
with the following lines: 
   
  INFO: [org.apache.directory.server.jndi.ServerContextFactory] - Unbind of an LDAP service
(10389) is complete. 
  INFO: [org.apache.directory.server.jndi.ServerContextFactory] - Sending notice of disconnect
to existing clients sessions. 
   
  However, Tomcat doesn't completely shutdown. It appears there are a few non-daemon threads
that are not being shutdown by ApacheDS causing Tomcat to not shutdown completely. 
   
  "pool-3-thread-1" prio=6 tid=0x0ae50c68 nid=0x898 in Object.wait() [0x0c3cf000..0x0c3cfa68]
at java.lang.Object.wait(Native Method) - waiting on <0x0327ba80> (a edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
at java.lang.Object.wait(Object.java:474) at edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:316)
- locked <0x0327ba80> (a edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:493)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:689)
at java.lang.Thread.run(Thread.java:595) 
   
  Any ideas on how to get these threads to shutdown as well? 
  thanks 
  Jake

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
Mime
  • Unnamed multipart/mixed (inline, 8-Bit, 0 bytes)
View raw message