2 Replies Latest reply on Oct 23, 2014 7:37 AM by cassiomolin

    JBoss Tools deploy error: This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination

    cassiomolin

      I'm having the following error when deploying an application with JBoss Tools:


      Error renaming C:\wildfly-8.1.0.Final\standalone\tmp\tmp7858611943756287857.xhtml to C:\wildfly-8.1.0.Final\standalone\deployments\<war-name>.war\403.xhtml.
      This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination.
      You may adjust these settings in the server editor
      .


      And here is a screenshot from the error:

      96PI6.png


      On the docs available in this link, I've found this:


      You can customize the deployment location and packaging type:

        • To select the workspace deployment folder for the server, click Use workspace metadata.
        • To select the deployment folder of the application server, click Use the JBoss deploy folder.
        • To select a folder of your choice, click Use a custom deploy folder. With this option, complete theDeploy directories and Temporary Deploy Directory fields. The temporary folder must be on the same file system as the final deploy location otherwise publishing often fails.
        • For all modules to be archived for deployment, select the Deploy projects as compressed archives check box. This avoids exploded deployments and reduces the amount of memory deployments occupy but may result in slower deployment.


      What's the meaning of The temporary folder must be on the same file system as the final deploy location?
      How can I solve this error?

      I realized that the error doesn't occur when the check box Deploy projects as compressed archives is checked.

      I also asked the same question at StackOverflow.