Alfonso Chavez Negrete [
https://community.jboss.org/people/alfonsocn] created the
discussion
"Deploy to sever-groups within CLI"
To view the discussion, visit:
https://community.jboss.org/message/828861#828861
--------------------------------------------------------------
I have been trying to implement a script that will keep on one of my server-groups the
current war file and on the other one load a newly build war file as of now I have managed
to undeploy or remove the file from that server node but not been able to deploy the new
war file, basically this is the procedure of the commands that will be sent to CLI through
the script
./server-group=Some-serverGroup/deployments=oldWarFile.war:remove
{
"outcome" => "success",
"result" => undefined,
"server-groups" => {"Some-serverGroup" => {"host"
=> {
"master" => {"Some-serverGroup1" =>
{"response" => {"outcome" => "success"}}},
"slave" => {"Some-serverGroup2" => {"response"
=> {
"outcome" => "success",
"result" => undefined
}}}
}}}
}
The idea after this point is to deploy to that server node a new war file stored in
/uploadFolder/newWarFile.war
but seems that using deploy --force is not doing what is need by my, is there any guide
line or suggestion regarding this
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/828861#828861]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]