2 Replies Latest reply on Jun 26, 2015 10:24 AM by Nicolas Sonnier

    JBoss 7.2.0 Final: Deployment of application failed

    Nicolas Sonnier Newbie

      Hi Community,

       

      I just tried to deploy an application by drag&dropping a war in "jboss-as-7.2.0.Final\standalone\deployments".

       

      Unfortunately deployment failed because deployment starts before the file was totally copied.

      • I had 48 errors in my standalone.log file:

      ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015007: Failed checking whether mywar.war was a complete zip: java.io.FileNotFoundException: mywar.war (The process cannot access the file because it is being used by another process)

      • my war stayed in isdeploying state
      • I cannot deploy this war or another unless I restart JBoss

       

      I suppose it's a JBoss protection that disables Auto-deployment... Is there a way to reactivate auto-deployment without restarting JBoss ?

       

      Thanks,

      Best Regards,

      Nicolas.