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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Wed Feb 29 11:23:36 EST 2012


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

Galder Zamarreño commented on AS7-3808:
---------------------------------------

See http://stackoverflow.com/questions/3228147/retrieving-the-underlying-error-when-file-listfiles-return-null

Seems like that File API is limited in providing more info. One option is to move our baseline to JDK7 and come up with a better file based cache store with the new JDK7 File API (http://www.oracle.com/us/technologies/java/file-system-api-428204.pdf)

The other, probably better solution, is to come up with a better file-based cache store. We have plans for that: ISPN-517
                
> 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