directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRMINA-117) ThreadPoolFilters doesn't stop all worker threads.
Date Sat, 05 Nov 2005 03:37:20 GMT
ThreadPoolFilters doesn't stop all worker threads.
--------------------------------------------------

         Key: DIRMINA-117
         URL: http://issues.apache.org/jira/browse/DIRMINA-117
     Project: Directory MINA
        Type: Bug
    Versions: 0.8    
    Reporter: Trustin Lee
 Assigned to: Trustin Lee 
     Fix For: 0.8.1


Paolo Perrucci 	Wrote:

During some tests of my server I found a strange shutdown problem.
After calling the unbindAll() method my application doesn't exit.
Analyzing the thread dump (requested 2 minutes after shutdown) of the
vitual machine I found this thread:

"ProtocolThreadPool-12" prio=1 tid=0x082985c8 nid=0x4452 in
Object.wait() [5b60b000..5b60b854]
   at java.lang.Object.wait(Native Method)
   - waiting on <0x477d7460> (a org.apache.mina.util.BlockingQueue)
   at java.lang.Object.wait(Object.java:429)
   at
org.apache.mina.util.BlockingQueue.waitForNewItem(BlockingQueue.java:55)
   - locked <0x477d7460> (a org.apache.mina.util.BlockingQueue)
   at
org.apache.mina.util.BaseThreadPool$Worker.fetchBuffer(BaseThreadPool.java:376)
   - locked <0x477d7460> (a org.apache.mina.util.BlockingQueue)
   at
org.apache.mina.util.BaseThreadPool$Worker.run(BaseThreadPool.java:350)

It's the only non daemon blocked thread alive, so the vm doesn't exit.
I think this may be a bug.

I'm using the 0.8.1 snapshot (checked out this morning at 11:00 CET).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message