jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Umesh Pathak (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCS-28) Failed to delete
Date Wed, 25 Apr 2007 13:20:15 GMT
Failed to delete
----------------

                 Key: JCS-28
                 URL: https://issues.apache.org/jira/browse/JCS-28
             Project: JCS
          Issue Type: Bug
          Components: JDBC Disk Cache
    Affects Versions: jcs-1.2.7.9.2
         Environment: Windows XP, RAD, Pentium-4
            Reporter: Umesh Pathak
         Assigned To: Aaron Smuts


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

cache.ccf-
# DEFAULT CACHE REGION
# 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


# CACHE REGIONS AVAILABLE

# 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

# 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)

-- 
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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


Mime
View raw message