I was faced with a similar problem .. had an executable jar that would get
started before the deployment of the EJBs had finished.  The only thing I
could come up with was to check if the HTTP listener was up.  I've noticed
that the HTTP listener seems to be the last thing started .. unless one of
the war files has a problem deploying then the listener will not be started.

If you find something better please share it.

-----Original Message-----
From: Namor Taror [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 11:34 AM
To: Orion-Interest
Subject: Re: System.exit(0)


How do you start your services before orion has finished its init phase. 
What are those services? servlets or ejbs? I have marked my servlet to be 
loaded on start-up but it happens after the initialization.

Roman


>From: erik <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: System.exit(0)
>Date: Mon, 17 Dec 2001 13:11:06 +0100
>
>Hi Folks,
>I try to exit Orion via System.exit() from within the running
>application server. This works fine. My problem is: This works only fine
>after Orion has completely initialized and says "Orion initialized" on
>the console. I do start some services within the initialize phase of
>Orion and in some cases I want Orion to stop straight away and exit the
>VM before finish initializing.
>How can I tell Orion to stop initializing and shut down?
>many greets to you
>Erik Zimmermann
><< e.zimmermann.vcf >>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


Reply via email to