I am trying to setup a clustering environment with Wildfly-10.
I have a web-fragment.xml for general purpose configuration and a web.xml for project specific configuration. With these configurations, clustering does not work.
But if I delete web-fragment.xml and move its content to web.xml, everything works fine.
I wonder what is the reason of this. Any idea?
Placing
</distributable>tag to bothweb.xmlandweb-fragment.xmlhas solved the problem.