[jboss-dev-forums] [JBoss AS 7 Development] - Deploy to sever-groups within CLI

Alfonso Chavez Negrete do-not-reply at jboss.com
Fri Jul 19 08:57:49 EDT 2013


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130719/60139731/attachment.html 


More information about the jboss-dev-forums mailing list