This content has been marked as final.
Show 3 replies
-
1. Re: What causes wildfly to auto deploy wars on already running server
dnovo Jun 6, 2019 12:09 PM (in response to alpeshjikadra)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"/>
-
2. Re: What causes wildfly to auto deploy wars on already running server
alpeshjikadra Jun 7, 2019 12:28 AM (in response to dnovo)Hi Daniel,
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 ?
-
3. Re: What causes wildfly to auto deploy wars on already running server
jaikiran Jun 7, 2019 12:46 AM (in response to alpeshjikadra)Enable TRACE level logging of org.jboss.as.server.deployment.scanner package and see if it shows anything interesting.