[ https://issues.apache.org/jira/browse/JCS-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730754#action_12730754 ]
rushi commented on JCS-61: -------------------------- Hi Aaron, If you think that redeploying the application without restarting WAS server creates a new instance that uses the same directory, then JCS will never work on my production machine. We have different clusters created on my production WAS server, and different application are running on each cluster. They never restart the WAS server to deploy the application. They simply uninstall the application and then reinstall the same. In the above case i can not run the application with JCS. Please suggest Thanks, Rushi > Failed to delete report.data file > --------------------------------- > > Key: JCS-61 > URL: https://issues.apache.org/jira/browse/JCS-61 > Project: JCS > Issue Type: Bug > Components: Indexed Disk Cache > Affects Versions: jcs-1.3 > Environment: Windows XP,java5 > Reporter: rushi > Assignee: Aaron Smuts > Fix For: jcs-1.3 > > Original Estimate: 5h > Remaining Estimate: 5h > > Hi, > I am using JCS in my Application. At the startup of the application, i am > getting the following error. I found that same problem has been reported here > but no one suggested solution for this. Please let me know the how to prevent > this error. > java.lang.IllegalStateException: Failed to delete report.data > at > org.apache.jcs.auxiliary.disk.indexed.IndexedDisk.reset(IndexedDisk.java:273) > at > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.initializeEmptyStore(IndexedDiskCache.java:270) > at > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.initializeKeysAndData(IndexedDiskCache.java:254) > at > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.<init>(IndexedDiskCache.java:177) > at > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache(IndexedDiskCacheManager.java:132) > at > org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCache(IndexedDiskCacheFactory.java:68) > at > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:583) > at > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:366) > at > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:287) > at > org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:265) > at > org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:161) > at > org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:329) > at > org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:275) > at > org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:264) > at > org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:214) > at > org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:128) > at org.apache.jcs.JCS.ensureCacheManager(JCS.java:96) > at org.apache.jcs.JCS.getInstance(JCS.java:64) > Thanks, > Rushi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jcs-dev-h...@jakarta.apache.org