When i call org.jboss.Shutdown usually the server is shuting down. But sometimes the server is restarting instead.
here is the log:
15:18:20,971 INFO [TomcatDeployer] undeploy, ctxPath=/jboss-net, warUrl=.../deploy/jboss-net.sar/jboss-net.war/
15:18:22,471 INFO [Server] Shutdown complete
'jboss.Main' is not recognized as an internal or external command,
operable program or batch file.