2 Replies Latest reply on Feb 21, 2018 2:43 PM by Morty Tenenbaum

    Does Wildfly locks deployment folder on startup?

    Rudi Adianto Newbie

      My application is an exploded WAR. Upon startup I need to delete some dynamically generated JSP inside the deployed application war folder "d:/wildfly/deployments/app.war/web-inf/extension/pages". On every other startup, the cleanup process will throw java.nio.file.AccessDeniedException when trying to delete an empty folder. When the startup is having this problem, I cannot delete/overwrite the problematic folder via Explorer with the same error message: Access Denied. I am using Windows 10 and Wildfly 10.1 Final. What can be the cause of this?