This content has been marked as final.
Show 1 reply
-
1. Re: How to stop jboss
jmoring Jul 19, 2002 11:29 PM (in response to yangjun)This is from org.jboss.Shutdown
try
{
String Command = "/InvokeAction//jboss%2Esystem%3Atype%3DServer/action=shutdown?action=shutdown"'
string host = "localhost"; // Or whatever
int port = 8082;
URL url = new URL("http", host, port, Command);
url.getContent();
}
catch (Exception ignore)
{
}