Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-28

Failed to delete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • jcs-1.2.7.9.2
    • None
    • JDBC Disk Cache
    • None
    • Windows XP, RAD, Pentium-4

    Description

      I get following error when I remove the application from the WebShere and , add it again.

      cache.ccf-

      1. DEFAULT CACHE REGION
      2. sets the default aux value for any non configured caches
        jcs.default=
        jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
        jcs.default.cacheattributes.MaxObjects=1000
        jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
        jcs.default.elementattributes.IsEternal=false
        jcs.default.elementattributes.MaxLifeSeconds=30
        jcs.default.elementattributes.IdleTime=1800
        jcs.default.elementattributes.IsSpool=true
        jcs.default.elementattributes.IsRemote=true
        jcs.default.elementattributes.IsLateral=true
      1. CACHE REGIONS AVAILABLE
      1. Regions preconfigured for caching
        jcs.region.bookCache=DC
        jcs.region.bookCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
        jcs.region.bookCache.cacheattributes.MaxObjects=2
        jcs.region.bookCache.elementattributes.IsEternal=false
        jcs.region.bookCache.elementattributes.MaxLifeSeconds=60
        jcs.region.bookCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
      1. AVAILABLE AUXILIARY CACHES
        jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
        jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
        jcs.auxiliary.DC.attributes.DiskPath=D:/jcs_swap1
        jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000
        jcs.auxiliary.DC.attributes.MaxKeySize=10000
        jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000
        jcs.auxiliary.DC.attributes.OptimizeOnShutdown=true
        jcs.auxiliary.DC2.attributes.MaxRecycleBinSize=5000

      -------------------------xxxxxxxxxxxxxxxxxx------------------------------------
      EXCEPTION -

      [4/25/07 18:47:10:976 IST] 0000003b IndexedDiskCa I Region [bookCache] Set maxKeySize to: '10000'
      [4/25/07 18:47:11:976 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 0
      [4/25/07 18:47:12:976 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 1
      [4/25/07 18:47:13:976 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 2
      [4/25/07 18:47:14:991 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 3
      [4/25/07 18:47:15:991 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 4
      [4/25/07 18:47:16:991 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 5
      [4/25/07 18:47:18:007 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 6
      [4/25/07 18:47:19:007 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 7
      [4/25/07 18:47:20:007 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 8
      [4/25/07 18:47:21:038 IST] 0000003b IndexedDisk W Failed to delete bookCache.data 9
      [4/25/07 18:47:21:038 IST] 0000003b IndexedDisk E java.lang.IllegalStateException: Failed to delete bookCache.data
      [4/25/07 18:47:21:070 IST] 0000003b IndexedDiskCa E Region [bookCache] Failure initializing for fileName: bookCache and root directory: D:/jcs_swap1
      [4/25/07 18:47:21:132 IST] 0000003b IndexedDiskCa E TRAS0014I: The following exception was logged java.lang.IllegalStateException: Failed to delete bookCache.data
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDisk.reset(IndexedDisk.java:259)
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.<init>(IndexedDiskCache.java:182)
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache(IndexedDiskCacheManager.java:122)
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCache(IndexedDiskCacheFactory.java:54)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:551)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:343)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:264)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:241)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:136)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:311)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:255)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:191)
      at org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:119)
      at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
      at org.apache.jcs.JCS.getInstance(JCS.java:64)
      at mypack.mytest2.<clinit>(mytest2.java:35)
      at com.ibm._jsp._test._jspService(_test.java:68)
      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
      at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171)
      at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230)
      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
      at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
      .
      java.lang.IllegalStateException: Failed to delete bookCache.data
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDisk.reset(IndexedDisk.java:259)
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.<init>(IndexedDiskCache.java:182)
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache(IndexedDiskCacheManager.java:122)
      at org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCache(IndexedDiskCacheFactory.java:54)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:551)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:343)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:264)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:241)
      at org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:136)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:311)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:255)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242)
      at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:191)
      at org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:119)
      at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
      at org.apache.jcs.JCS.getInstance(JCS.java:64)
      at mypack.mytest2.<clinit>(mytest2.java:35)
      at com.ibm._jsp._test._jspService(_test.java:68)
      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
      at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171)
      at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230)
      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
      at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

      Attachments

        Activity

          People

            asmuts Aaron Smuts
            umesh_pathak Umesh Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: