[jboss-dev-forums] [JBoss AS 7 Development] - Re: how to shutdown 1 of 2 standalone JB7 instances ?aa
valentino cruz
do-not-reply at jboss.com
Tue Aug 21 14:31:02 EDT 2012
valentino cruz [https://community.jboss.org/people/fabiovc27] created the discussion
"Re: how to shutdown 1 of 2 standalone JB7 instances ?aa"
To view the discussion, visit: https://community.jboss.org/message/754910#754910
--------------------------------------------------------------
Thank you Wolf-Dieter!!! ... that pointed me in the right direction for sure!!
I tried the following series of steps and it worked for me:
1. server A , starts server B by executing : "./standalone.sh -Djboss.node.name=serverB"
2. a socket-binding port is changed on Server A via CLI and we are told it requires a reload.
3. undeploy the *.war from server A by executing the CLI command for "undeploy serverA.war"
4. execute a ":reload" command (this tends to take a little longer than a shutdown and restart in my environment, but its not that much of a concern).
5. go back to serverB and it remains running with the same process ID, so no interruptions! (perfect!)
Thanks again Wolf!! I was thinking there was no way of doing this, but CLI in JBoss AS7 is very powerful indeed.
I hope this helps others as well.
-Fabio
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/754910#754910]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120821/be041001/attachment.html
More information about the jboss-dev-forums
mailing list