Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22078

Error publishing war file to wildfy 8 or above on windows

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 4.3.0.Final
    • Fix Version/s: 4.3.1.CR1
    • Component/s: server
    • Environment:
      • Windows 7 x64
      • jdk1.8.0_77 (32-bit)
      • Eclipse Mars.2 (32-bit)
      • JBoss Tools 4.3.0.FINAL
      • Wildfly 10.0.0.FINAL
    • Steps to Reproduce:
      Hide
      • have a wildfly 10 server running
      • create a new Maven project
      • click "Create a simple project", next
      • fill in, groupId, artifactId, packaging = war, click finish
      • right click on project > JavaEE tools > Generate Deployment descriptor stub (just to get rid of Maven's error about missing web.xml)
      • right mouse click on the server in the server view --> Add and remove... --> add the project
      • test the project in the browser
      • right mouse click on the server in the server view --> Clean...
      • test the project in the browser again
      Show
      have a wildfly 10 server running create a new Maven project click "Create a simple project", next fill in, groupId, artifactId, packaging = war, click finish right click on project > JavaEE tools > Generate Deployment descriptor stub (just to get rid of Maven's error about missing web.xml) right mouse click on the server in the server view --> Add and remove... --> add the project test the project in the browser right mouse click on the server in the server view --> Clean... test the project in the browser again

      Description

      The following error is thrown after publishing a maven webapplication (.war) to Wildfly 10.0:

      "Error renaming C:\wildfly-10.0.0.Final\standalone\tmp\tmp8945090880188299781.properties to C:\wildfly-10.0.0.Final\standalone\deployments\WebViewer-0.0.3-SNAPSHOT.war\META-INF\maven\nl.incad.webviewer\WebViewer\pom.properties.

      This may be caused by incorrect file permissions, or your server's temporary deploy directory may be on a different filesystem than the final destination.

      You may adjust these settings in the server editor."

      The webapplication is no longer available/online after the error. The only solution is to restart the server and to re-add the webapplication to the server. This makes it very hard to develop/test a webapplication on wildfly 10. The same error is thrown on wildfly 8.0/8.1, but the difference is that the webapplication is still available/online after the error.

      I've tried/tested the following:

      • Checked/updated Windows file permisions for the wildfly directory
      • Take ownership of the wildfly directory (recursively)
      • Disabled Windows User Account Control (UAC)
      • Run Eclipse as Admin

      Relates to:

        Gliffy Diagrams

          Attachments

          1. FailureWatchModify1.PML
            1016 kB
          2. FileWatchError.zip
            8 kB
          3. FSWatcherHang.txt
            2 kB
          4. Logfile.PML
            3.77 MB
          5. OkWatchModify1.PML
            1.35 MB

            Issue Links

              Activity

                People

                • Assignee:
                  rob.stryker Rob Stryker
                  Reporter:
                  tvdberg Tobias van den Berg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: