Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-799

Broken jdk method Files.isWritable() causes a deployment failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.Alpha8
    • 1.0.0.Final
    • Server
    • None

    Description

      unable to deploy any web app into wildfly-9.0.0.Final running on a windows box
      deployment is rejected with

      Caused by: java.lang.IllegalStateException: WFLYDR0006: Directory D:\jboss\wildfly-9.0.0.Final\standalone\data\content\8b is not writable
              at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.validateDir(ContentRepository.java:304)
              at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.getDeploymentHashDir(ContentRepository.java:281)
              at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.getDeploymentContentFile(ContentRepository.java:271)
              at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.getContent(ContentRepository.java:248)
      

      oracle confirmed this a bug in jdk1.8
      http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8130830

      Attachments

        Issue Links

          Activity

            People

              tomazcerar Tomaž Cerar (Inactive)
              rhanus Radim Hanus (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: