here is error message: 2006-06-26 11:38:59,540 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheManager - Creating cache manager from config file: /cache.ccf 2006-06-26 11:38:59,540 [http-8080-Processor25] INFO org.apache.jcs.utils.threadpool.ThreadPoolManager - thread_pool.default PoolConfiguration = useBoundary = [true]boundarySize = [2000]maximumPoolSize = [150]minimumPoolSize = [4]keepAliveTime = [300000]whenBlockedPolicy = [RUN]startUpSize = [4] 2006-06-26 11:38:59,556 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheConfigurator - Setting default auxiliaries to DC,LTCP 2006-06-26 11:38:59,556 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheConfigurator - setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1 ] 2006-06-26 11:38:59,556 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheConfigurator - No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class. 2006-06-26 11:38:59,556 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheConfigurator - setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds = 3600, IdleTime = 1800, CreateTime = 1151347139556, LastAccessTime = 1151347139556, getTimeToLiveSeconds() = 3600, createTime = 1151347139556 ] 2006-06-26 11:38:59,556 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheConfigurator - Parsed regions [] 2006-06-26 11:38:59,556 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheConfigurator - Finished configuration in 0 ms. 2006-06-26 11:38:59,556 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCacheConfigurator - No special ElementAttribute class defined for key [jcs.region.ePINBatchReportCache.elementattributes], using default class. 2006-06-26 11:38:59,587 [http-8080-Processor25] INFO org.apache.jcs.engine.memory.lru.LRUMemoryCache - initialized LRUMemoryCache for ePINBatchReportCache 2006-06-26 11:38:59,587 [http-8080-Processor25] INFO org.apache.jcs.engine.control.CompositeCache - Constructed cache with name: ePINBatchReportCache 2006-06-26 11:38:59,649 [http-8080-Processor25] INFO org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache - Cache file root directory: C:\Temp\JCS_cache1 2006-06-26 11:38:59,665 [http-8080-Processor25] INFO org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache - Set maxKeySize to: '10000' 2006-06-26 11:38:59,665 [http-8080-Processor25] INFO org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache - Set recycle max Size to MaxRecycleBinSize: '7500' 2006-06-26 11:38:59,681 [http-8080-Processor25] INFO org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager - Instance for [localhost:1110:1110] is null, creating 2006-06-26 11:38:59,681 [http-8080-Processor25] INFO org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager - Creating TCP service, lca = localhost:1110:1110 2006-06-26 11:39:00,665 [http-8080-Processor25] ERROR org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPService - Could not create sender to [localhost:1110] -- Socket is null, cannot connect to localhost:1110 2006-06-26 11:39:00,665 [http-8080-Processor25] ERROR org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager - Failure, lateral instance will use zombie service java.io.IOException: Socket is null, cannot connect to localhost:1110 at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPSender.init(LateralTCPSender.java:137) at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPSender.<init>(LateralTCPSender.java:110) at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPService.<init>(LateralTCPService.java:70) at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager.<init>(LateralTCPCacheManager.java:164) at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager.getInstance(LateralTCPCacheManager.java:105) at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createCache(LateralTCPCacheFactory.java:81) 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:280) at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositeCacheManager.java:445) at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositeCacheManager.java:384) at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositeCacheManager.java:371) at org.apache.jcs.JCS.getInstance(JCS.java:66) at com.prenet.domain.epinSupport.EpinReportMediator.<init>(Unknown Source) at com.prenet.domain.common.MediatorFactory.getEpinBatchSummaryReportMediator(Unknown Source) at com.prenet.cpt.presentation.epinSupport.ProductSummaryReportVC.loadReport(Unknown Source) at com.prenet.cpt.presentation.epinSupport.ProductSummaryReportVC.getReport(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79) at org.apache.shale.faces.ShalePropertyResolver.getValue(ShalePropertyResolver.java:104) at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167) at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154) at javax.faces.component.UIOutput.getValue(UIOutput.java:147) Thanks, Emily
emily chen <[EMAIL PROTECTED]> wrote: Hi there, I set up two tomcat servers in my PC, and deploy my web application. I sent a HTTP request to Tomcat1 http://lucyl.prenet.net:8080/console/epinSupport/batchSummaryReport.jsf to get Batch report, and saw the batch report data was saved in local cache C:\Temp\JCS_cache1. Then I sent another HTTP request to Tomcat2 http://lucyl.prenet.net:8888/console/epinSupport/productSummaryReport.jsf to get the product report, and saw the product report data was saved in local cache C:\Temp\JCS_cache2. After that, I check C:\Temp\JCS_cache1 again, and found the cache has the batch report and product report. but C:\Temp\JCS_cache2 only has product report. I think JCS_cache1 and JCS_cache2 should have both report data. Any idea why? Here is cache.ccf for web applicate in Tomcat1: ################################################################## # DEFAULT CACHE REGION # sets the default aux value for any non configured caches ################################################################# jcs.default=DC,LTCP jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=0 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.MaxLifeSeconds=3600 jcs.default.elementattributes.IdleTime=1800 jcs.default.elementattributes.IsSpool=true jcs.default.elementattributes.IsRemote=true jcs.default.elementattributes.IsLateral=true ############################################################# # AUXILIARY CACHES AVAILABLE # Primary Disk Cache -- faster than the rest because of memory key storage ############################################################# 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=C:\\Temp\\JCS_cache1 jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000 jcs.auxiliary.DC.attributes.MaxKeySize=10000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=7500 ########################################################### # Lateral TCP Cache - Non-UDP Discovery Configuration ########################################################### jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes jcs.auxiliary.LTCP.attributes.TcpServers=localhost:1110 jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110 jcs.auxiliary.LTCP.attributes.AllowGet=true Here is cache.ccf for web applicate in Tomcat2: ################################################################## # DEFAULT CACHE REGION # sets the default aux value for any non configured caches ################################################################# jcs.default=DC,LTCP jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=0 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.MaxLifeSeconds=3600 jcs.default.elementattributes.IdleTime=1800 jcs.default.elementattributes.IsSpool=true jcs.default.elementattributes.IsRemote=true jcs.default.elementattributes.IsLateral=true ############################################################# # AUXILIARY CACHES AVAILABLE # Primary Disk Cache -- faster than the rest because of memory key storage ############################################################# 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=C:\\Temp\\JCS_cache1 jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000 jcs.auxiliary.DC.attributes.MaxKeySize=10000 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=7500 ########################################################### # Lateral TCP Cache - Non-UDP Discovery Configuration ########################################################### jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes jcs.auxiliary.LTCP.attributes.TcpServers=localhost:1110 jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110 jcs.auxiliary.LTCP.attributes.AllowGet=true Two cache.ccf is the same except DiskPath. thanks for your help. Emily --------------------------------- Want to be your own boss? Learn how on Yahoo! Small Business. --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta.