-
1. Re: stoping jboss in domain mode
wdfink Sep 3, 2012 4:53 AM (in response to gjerich)1 of 1 people found this helpfulIn domain mode there are many servers so you have to address the one you want to shutdown.
You have to connect the domain controller (master) and send the commands here.
a few examples if you start a domain of a fresh AS7:
/host=master:shutdown => stop the domain controller
/host=slave:shutdown => stop the slave host controller if you have such second instance running in the same domain
/host=master/server-config=server-one:stop
The given server instance (here server-one) is stopped, but not removed from config, so if you re-start the domain the server is up again
-
2. Re: stoping jboss in domain mode
gjerich Sep 3, 2012 5:09 AM (in response to wdfink)thx,
should i use also jboss-cli.sh script?
I'm new to jboss. sorry for asking stupid questions
-
3. Re: stoping jboss in domain mode
wdfink Sep 3, 2012 5:28 AM (in response to gjerich)I post only the commands.
You might use the CLI without (--command) interactive to stop more than one instance or you replace ":shutdown" with my examples.
Also you can write commands into a file and use the CLI script with --file=<filename>.
Have a look into the documentation
-