On Wednesday 30 January 2002 07:48 pm, Jar Lyons wrote: > :I just changed my application to do a System.exit(..) if a > > BindException is thrown during initialization > > What I wanted to do was throw a RuntimeException .... or anything that > would reliably bring the system down. > > But alas ... it looks like everything upstream gets swallowed .... > > This means that if you inadvertently start a server twice .... the > second one will fail on the bind (for obvious reasons) > and then stay running. > > Any suggestions other than System.exit?
Sounds like it might be useful for a phoenix instance to automatically shut itself down when there are no running SARs. -pete -- peter royal -> [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
