I am using several instances of jboss 3.2.3 on a linux box. I need a way to shutdown each instance individually from shell scripts.
I noticed there are new options available. One no longer uses domain and port.
-s, --server= Specify the JNDI URL of the remote server
-n, --serverName= Specify the JMX name of the ServerImpl
-a, --adapter= Specify JNDI name of the RMI adapter to use
Is there someone who can provide me examples on how to use it. I feel completely lost when I have to find the correct parameter names. Even by browsing the jmx-console.
Many thanks in advance.
This is what I have been looking for:
Shutdown message has been posted to the server.
Server shutdown may take a while - check logfiles for completion
The parameter "adapter" is not required at all.