2 Replies Latest reply on Mar 20, 2018 3:45 AM by Abhinav Gupta

    Marker files for deployment scanners. Deploying ear on every restart

    Abhinav Gupta Novice

      I have a quick question , just to have your views on it. we are deploying application in standalone mode , using scanner with marker files.. My requirement is that everytime we restart wildfly ,ear should get deployed again. I found that sometimes ( may be because of stopping sequence ) , I see .undeployed marker file get created in scanner directory .. And thus in next start of wildfly , ear is NOT deployed. Can you suggest some quick way to not have this behaviour. My goal is to deploy ear again on every wildfly start.. thoughts ?


      <subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">

                  <deployment-scanner name="1" path="../../../Applications" relative-to="jboss.server.base.dir" scan-interval="5000" auto-deploy-exploded="false" runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}"/>



      PS : we are using wildlfy10