Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 70666 invoked by uid 500); 16 Oct 2001 07:34:22 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 70649 invoked from network); 16 Oct 2001 07:34:21 -0000 Message-ID: <3BCBE334.3090104@yahoo.com> Date: Tue, 16 Oct 2001 08:35:16 +0100 From: Paul Hammant User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011 X-Accept-Language: en-us MIME-Version: 1.0 To: Avalon Development Subject: Re: Can I shutdown Avalon with certain exceptions? References: <007301c155fb$bd0d4400$23a5b5d8@216.181.165.32> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Serge, Would it have a public constructor? Would it extend RuntimeException? If yes, it sounds like a mechanism for denial of service attack. That said, malicious code would probably have to be installed by an administrator/assembler. Regards, - Paul H - Paul H >Is there a special kind of exception you can throw or other call I can make >in a block or service to signal the Avalon created JVM to shutdown >completely (and report why)? > >Generally this would be done during the init process, but could be at other >times. In James there are certain problems that cannot be gracefully >managed (like if a mail repository, file or db, can't be saved to because of >structure problems, no more space, etc...), and a quick shutdown would be >the best way to go. > >Serge Knystautas >Loki Technologies - Unstoppable Websites >http://www.lokitech.com/ > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org >For additional commands, e-mail: avalon-dev-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org