Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 48874 invoked from network); 30 Nov 2005 16:27:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 16:27:47 -0000 Received: (qmail 77898 invoked by uid 500); 30 Nov 2005 16:27:42 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 77738 invoked by uid 500); 30 Nov 2005 16:27:41 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 77634 invoked by uid 99); 30 Nov 2005 16:27:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 08:27:40 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.163.169.227] (HELO smtp107.mail.sc5.yahoo.com) (66.163.169.227) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Nov 2005 08:29:06 -0800 Received: (qmail 88983 invoked from network); 30 Nov 2005 16:27:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=OvT4GW8VkWUGyVP84KbEMf5i/NiYYfCNdoY+vXJ7akUNPRdjJK+vqSi0eCgzMZYWMAfp2Mj3Yg8m3lNp0yVskeimlHAzUm++OH4VlVvrCgNAzRQDNWqvJzcX1rgEmhmntIDjwX1G/xsBaSCO4ydTLeu1ObE+QzTrn17M0trtNuc= ; Received: from unknown (HELO ?192.168.1.5?) (david?jencks@66.93.38.137 with plain) by smtp107.mail.sc5.yahoo.com with SMTP; 30 Nov 2005 16:27:11 -0000 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <438DA193.5090102@gmail.com> References: <438DA193.5090102@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4f40dd9c88a5c66d1e4ace67f81d2152@yahoo.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Daemon.doStartup() code does not call loadFailed and startFailed methods of the StartupMonitor interface Date: Wed, 30 Nov 2005 08:27:07 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.622) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Nov 30, 2005, at 4:56 AM, John Sisson wrote: > This one is probably for Aaron.. > > I am looking at the Daemon.doStartup() code and noticed that it > doesn't call the loadFailed and startFailed methods of the > StartupMonitor interface (used by the ProgressBarStartupMonitor and > the StaticStartupMonitor I am working on). > > Currently the doStartup() code calls loadGBeans() and start(), and > they can throw InvalidConfigException. If that happens, the server is > shut down. > > Should we try to limp on if that happens and pass the exception to the > loadFailed or startFailed methods of the StartupMonitor interface or > is there a good reason why we shut down the server under these > circumstances? I think shutting down is the most appropriate action at that point. thanks david jencks > > John >