[jboss-dev-forums] [JBoss AS7 Development] - Re: undeploy workaround in AS7 domain

Stan Silvert do-not-reply at jboss.com
Fri Jun 10 23:03:34 EDT 2011


Stan Silvert [http://community.jboss.org/people/ssilvert] created the discussion

"Re: undeploy workaround in AS7 domain"

To view the discussion, visit: http://community.jboss.org/message/609723#609723

--------------------------------------------------------------
Hopefully, we can figure something out so that the CLI, the web console, and the underlying API all match up a little better.  But it's complicated, especially because of the traditional meanings of terms like deploy and undeploy.

Anyway, this functionality now exists in the latest web console.  So if you grab a nightly build of AS7 or wait a few days for the CR release then you will have an easy way to do it with a nice web UI.

So back to your question about using the CLI.  Once you have your deployment uploaded to the content store, the command to assign to a server group looks something like this:
/server-group=mygroup/deployment=foo.war/:add


Then, to enable the deployment so it will actually deploy, do this:
/server-group=mygroup/deployment=foo.war/:deploy


Stan
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/609723#609723]

Start a new discussion in JBoss AS7 Development at Community
[http://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/20110610/8f747de4/attachment.html 


More information about the jboss-dev-forums mailing list