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
> 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
>
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
***