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

XMLWordPrintable

    • 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

      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:

        1. FSWatcherHang.txt
          2 kB
          Thomas Mäder
        2. OkWatchModify1.PML
          1.35 MB
          Thomas Mäder
        3. FailureWatchModify1.PML
          1016 kB
          Thomas Mäder
        4. Logfile.PML
          3.77 MB
          Rob Stryker

            rob.stryker Rob Stryker (Inactive)
            tvdberg Tobias van den Berg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: