Re: [JBoss-user] Shutdown JBoss programmatically

2003-06-24 Thread Guy Rouillier
Magesh Prabhu wrote: Guys, I do some initialization stuff on a startup Servlet. If some services fail during this initialization, I want to shutdown JBoss. Is there a programmatical way of doing it. Can any body suggest please. You don't mention what version of JBoss you are working with. There i

Re: [JBoss-user] Shutdown JBoss programmatically

2003-06-24 Thread robert
> Guys, > > I do some initialization stuff on a startup Servlet. If some services > fail during this initialization, I want to shutdown JBoss. Is there a > programmatical way of doing it. Can any body suggest please. Try using System.exit. JBoss install Shutdown hooks in order to do a clean exit >

[JBoss-user] Shutdown JBoss programmatically

2003-06-24 Thread Magesh Prabhu
Guys, I do some initialization stuff on a startup Servlet. If some services fail during this initialization, I want to shutdown JBoss. Is there a programmatical way of doing it. Can any body suggest please. Thanks in advance, Magesh ***