Hi, change scan-interval to -1 to disable scanner that triggers deployment.
<deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" runtime-failure-causes-rollback="false"/>
Thanks for your time, if I set scan-interval to -1, then Wildfly will not trigger deployment,
but I want to know why Wildfly auto deploy the war ? Because without knowing this if I set scan-interval to -1 then I may not be able to fix the issue if auto deployment is because of application misbehave or something else ?
Enable TRACE level logging of org.jboss.as.server.deployment.scanner package and see if it shows anything interesting.