Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 532AD486F for ; Wed, 11 May 2011 14:33:48 +0000 (UTC) Received: (qmail 74602 invoked by uid 500); 11 May 2011 14:33:48 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 74568 invoked by uid 500); 11 May 2011 14:33:48 -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 74561 invoked by uid 99); 11 May 2011 14:33:48 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 14:33:48 +0000 Received: from localhost (HELO emmanuel-lecharnys-MacBook-Pro.local) (127.0.0.1) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 14:33:47 +0000 Message-ID: <4DCA9E4A.4070202@apache.org> Date: Wed, 11 May 2011 16:33:46 +0200 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= Reply-To: elecharny@apache.org Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: OSGi startup and shutdown problems References: <4DC92820.2010602@gmail.com> <4DCA54A7.1030804@gmail.com> <4DCA9575.9070802@apache.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/11/11 4:16 PM, Guillaume Nodet wrote: > Indeed, that's a nice trick. > If I understand the code correctly, you need to make sure the > exception is reported back to the current thread, else you the user > won't even notice any problem (well, in the log of course but no > exception). Yes. It's just a trick at the moment, and some more love is needed to get it usable. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com