[jboss-jira] [JBoss JIRA] (AS7-3808) CacheLoaderException: Root not directory or IO error occurred

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Sat Feb 25 18:50:36 EST 2012


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

Paul Ferraro commented on AS7-3808:
-----------------------------------

Well, as far as better wording, what's happening is File.listFiles(...) is returning null, which according to the spec indicates that either the File in question is not a directory (or doesn't exist at all) or there was an I/O issue, the details of which are not obtainable.  If we assume it wasn't an I/O issue, and we know that the File in question is most definitely a directory, that leaves only the possibility that it doesn't exist.
                
> CacheLoaderException: Root not directory or IO error occurred
> -------------------------------------------------------------
>
>                 Key: AS7-3808
>                 URL: https://issues.jboss.org/browse/AS7-3808
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 7.1.0.Final
>            Reporter: Radoslav Husar
>            Assignee: Paul Ferraro
>              Labels: eap6_LA
>             Fix For: 7.1.1.Final
>
>
> While testing failover on undeploy, I ran into rather cryptic exception: 
> "Root not directory or IO error occurred"
> The machine shouldnt run into IO errors, probably related AS7-3161? Can we get a better wording here as well?
> {noformat}
> [JBossINF] 20:48:40,309 ERROR [org.infinispan.loaders.AbstractCacheStore] (Scheduled-eviction-thread-3) ISPN000045: Problems encountered while purging expired: org.infinispan.loaders.CacheLoaderException: Root not directory or IO error occurred
> [JBossINF] 	at org.infinispan.loaders.file.FileCacheStore.purgeInternal(FileCacheStore.java:205) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
> [JBossINF] 	at org.infinispan.loaders.AbstractCacheStore$2.run(AbstractCacheStore.java:106) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
> [JBossINF] 	at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:41) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
> [JBossINF] 	at org.infinispan.loaders.AbstractCacheStore.purgeExpired(AbstractCacheStore.java:103) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
> [JBossINF] 	at org.infinispan.eviction.EvictionManagerImpl.processEviction(EvictionManagerImpl.java:118) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
> [JBossINF] 	at org.infinispan.eviction.EvictionManagerImpl$ScheduledTask.run(EvictionManagerImpl.java:144) [infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
> [JBossINF] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
> [JBossINF] 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list