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

    JBoss 7.2.0 Final: Deployment of application failed

    nsonnier

      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.

        • 1. Re: JBoss 7.2.0 Final: Deployment of application failed
          wdfink

          You should look to the first ERROR or WARN message and resolve that. Other messages might be a follow up issue.

          I'm not aware that the scanner is disabled in case of failure.

          Is it possible to deploy a working application, maybe a simple quickstart to see the server work in general?

          1 of 1 people found this helpful
          • 2. Re: JBoss 7.2.0 Final: Deployment of application failed
            nsonnier

            After a while, ~30mn, JBoss changed the status in "failed".

            I changed it in "dodeploy" and application has been deployed.

             

            I think the scanner has a failure protection and stops trying deployments for half an hour after too many errors.

            Thank you for your help.@Wolf-Dieter Fink