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
***
http://localhost:8082/
There is a link to the shutdown service. You could write a script with
telnet, expect, netcat, or even Java (hey!) to do an http post.
Darrin
On 4/9/01, 1:09:33 PM, Christopher Cheng <[EMAIL PROTECTED]> wrote
regarding [JBoss-user] Shutdown jBoss:
> I inst
[mailto:[EMAIL PROTECTED]]On Behalf Of Christopher
> Cheng
> Sent: 9. april 2001 20:10
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Shutdown jBoss
>
>
> I installed the jBoss+Tomcat.
> I can sucessfully start the server by executing "run.sh"
I installed the jBoss+Tomcat.
I can sucessfully start the server by executing "run.sh", but how do I
shutdown the machine with another script besides "Ctrl-C"?
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jb