kelvin0mql [
https://community.jboss.org/people/kelvin0mql] commented on the document
"JBoss AS7 User Guide"
To view all comments on this document, visit:
https://community.jboss.org/docs/DOC-16068#comment-12370
--------------------------------------------------
Brian Stansberry wrote:
For domain mode, deployment must be done via the management API; there is no background
thread scanning a directory and deploying content for you. The reason for this is because
in domain mode there can be many servers belong to different server groups running
different profiles. In that situation it's not clear to what server groups content in
a "deployments" folder should be deployed. That requires knowledge beyond what a
simple filesystem scanner has.
That's a clearer explanation of that point than I've stumbled into
thusfar. So thanks for that.
Can I configure a particular (controlled-by-domain) server to have a deployments dir?
Let's assume the whole pile goes south. Power outage. Long one. So when I turn it back
on, do I now have a manual process of re-deploying 40-some wars to their respective
servers in server-groups? Or when I turn on each server via domain management, it will
re-deploy what it had running last time it was shut down?
See, I'm so used to JBoss 4.x and 5.x, and being able to just go look in the deploy
dir to see what's there. If the war is in there, it unzips and runs when that
particular instance is started. If it ain't there, it doesn't. The domain
paradigm, in this regard, is still fuzzy to me. (As I google around, I see I'm not
alone.)
--------------------------------------------------