Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 68813 invoked from network); 4 Nov 2005 16:37:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Nov 2005 16:37:42 -0000 Received: (qmail 82726 invoked by uid 500); 4 Nov 2005 16:37:31 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 82673 invoked by uid 500); 4 Nov 2005 16:37:30 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 82650 invoked by uid 99); 4 Nov 2005 16:37:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 08:37:30 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.94.11.36] (HELO smtp.ludonet.it) (62.94.11.36) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Nov 2005 08:37:25 -0800 Received: (qmail 389 invoked by uid 1013); 4 Nov 2005 16:35:34 -0000 Received: from p.perrucci@ludonet.it by ip-11-36 by uid 1010 with qmail-scanner-1.22-st-qms ( Clear:RC:1(62.94.10.38):. Processed in 1.837902 secs); 04 Nov 2005 16:35:34 -0000 X-Antivirus-LUDONET-IT-Mail-From: p.perrucci@ludonet.it via ip-11-36 X-Antivirus-LUDONET-IT: 1.22-st-qms (Clear:RC:1(62.94.10.38):. Processed in 1.837902 secs Process 384) Received: from unknown (HELO ?10.0.90.116?) (62.94.10.38) by smtp.ludonet.it with SMTP; 4 Nov 2005 16:35:32 -0000 Message-ID: <436B8E30.70701@ludonet.it> Date: Fri, 04 Nov 2005 17:37:04 +0100 From: Paolo Perrucci User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: it, it-it, en-us, en MIME-Version: 1.0 To: dev@directory.apache.org Subject: Shutdown problem Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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). Paolo