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

Tomaz Cerar (JIRA) issues at jboss.org
Sun Aug 9 17:10:03 EDT 2015


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

Tomaz Cerar commented on WFCORE-799:
------------------------------------

Just to have this he for reference. 
Further discussion on forums showed problem is caused by subst-ed dirives.

{quote}
drive D: is a shortcut and is defined as follows:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"D:"="\\??\\C:\\dev"

if I don't use shortcut path and use original one C:\dev\jboss\wildfly-9.0.0.Final then server starts fine
{quote}

> 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.Alpha8
>
>
> 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