Standalone deployment in wildfly 10 not deploying to one node

I am using wildfly 10 and am trying to use its standalone deployment feature - https://docs.jboss.org/author/display/WFLY10/Singleton+deployments

As per the above link, I have included / META-INF / singleton-deployment.xml in the military web application file. singleton-deployment.xml has the configuration below -

<singleton-deployment xmlns="urn:jboss:singleton-deployment:1.0"/>

      

Also, I have set up jboss master slave server group as per below link ---

https://docs.jboss.org/author/display/WFLY10/Clustering+and+Domain+Setup+Walkthrough

Now, when I try to deploy the war file (on another servergroup of my cluster that has a full profile), it is deployed to all nodes (both master and slave). But according to the singleton deployment documentation, the respected file should only be deployed to one node, and if that node fails, the deployment should happen to another node.

+3


source to share





All Articles