There was a discussion on this recently.
File-based deployment is not supported for domain mode, use the CLI or the web console.
Thank you, so in order to perform file-based deployment jboss cluster should be running in standalone mode? This way the application will be dropped in deployments directory of your cluster nodes.
Is that correct? Am i missing something?
I think the term "cluster running in standalone mode" is a bit contradictionary.
Deployments in domain mode should be done with the CLI or console. I don't know the reason for this - perhaps a rollback of the deployment plan is easier when there is no real physical file to deal with later or something.
1 of 1 people found this helpful
If you want to have a similar behaviour with filebased deployment as in AS4/5/6 you might install all nodes as 'standalone'.
- But remember sharing deploy directory as in former versions are NOT possible.
- Farming is not supportet, that is what domain-mode is for.
The recomended way to keep such cluster configuration in-sync is to configure a domain.
You are able to create a program/script which monitor a central directory with deployables and use CLI to deploy it. But this will be a bit complicated as you have to check new/update/delete
So it depends on your requirements what approach you use