Mark Airey [
https://community.jboss.org/people/mtairey] created the discussion
"JBoss 7 domain deployment"
To view the discussion, visit:
https://community.jboss.org/message/757868#757868
--------------------------------------------------------------
Hi Everyone,
I've been using JBoss 5 for a while and am currently migrating a couple wab apps to
JBoss 7. I have a question about deployment I haven't found an answer to yet.
So to deploy via command line I can do this the first time I deploy: jboss-cli.sh -c
command="deploy /path/to/myapp.war –server-groups=my-group"
But subsequent deployments give an error that this app is already deployed, so to get a
new version of the war deployed I use this command: jboss-cli.sh -c command="deploy
-f /path/to/myapp.war"
This deploys the new version fine to my server. But, what is we have a domain setup where
there is a server-group/server setup for various developers. Say developer1-group and
developer2-group, where each group has one server. If developer 1 deploys myapp.war to
their group, and developer2 does the same, how does the force option know which group to
deploy to? Or does it deploy to ALL groups that have a myapp.war deployed? If so, is
there a better command to use to accomplish what I've described?
Thanks in advance for any help you can offer.
Mark
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/757868#757868]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]