[jboss-jira] [JBoss JIRA] (WFCORE-799) Broken jdk method Files.isWritable() causes a deployment failure

Radim Hanus (JIRA) issues at jboss.org
Fri Jul 10 06:38:02 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088436#comment-13088436 ] 

Radim Hanus commented on WFCORE-799:
------------------------------------

I was curious if it's hard to reproduce after all I'm able to demonstrate this bug on three independent win7 boxes with different access control/security settings, three latest jdk-8 releases and coming jdk-8-ea
Moreover I'm able to reproduce it even when current user has full control of demofile.txt and is its owner

> Broken jdk method Files.isWritable() causes a deployment failure
> ----------------------------------------------------------------
>
>                 Key: WFCORE-799
>                 URL: https://issues.jboss.org/browse/WFCORE-799
>             Project: WildFly Core
>          Issue Type: Patch
>          Components: Server
>    Affects Versions: 1.0.0.Final
>         Environment: jdk1.8/jdk1.7 on win7 64-bit
>            Reporter: Radim Hanus
>            Assignee: Tomaz Cerar
>             Fix For: 2.0.0.Alpha7
>
>
> unable to deploy any web app into wildfly-9.0.0.Final running on a windows box
> deployment is rejected with 
> {noformat}
> 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)
> {noformat}
> oracle confirmed this a bug in jdk1.8
> http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8130830



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list