Hello, I have two same system which use JCS RemoteServer and client configuration with DiskCache.
One system works well but the other system not works JCS RemoteServer as expected. The well works system ( A ) is configure has 3 computer like ----------------------------- ---------------------------------------------------- ----------------------------------------------------- Database Application Instance A ( Tomcat-5.5 ) JCS RemoteServer Single IP address Application Instance B ( Tomcat-5.5 ) Application Instance C (Tomcat-5.5 ) Java 1.6 Java 1.6 Java 1.6 ----------------------------- ------------------------------------------------- ------------------------------------------------------- Window7 (64 Bit ) WindowXP WindowXP The NOT works system as expected ( B ) configure has also 3 computer like ----------------------------- ---------------------------------------------------- ----------------------------------------------------- Database Application Instance A ( Tomcat-5.5 ) Application Instance C (Tomcat-5.5 ) JCS RemoteServer Two IP addresses Application Instance B ( Tomcat-5.5 ) Application Instance D (Tomcat-5.5 ) Java 1.4 Java 1.6 Java 1.6 ----------------------------- ------------------------------------------------- ------------------------------------------------------- OLD IBM Server RedHat Linux (32Bit ) WindowXP WindowXP ------------------------------------------------------------------------------------------------------------------------------------------------------------ The ccf files for Remote Server for NOT works system as expected is # DEFAULT CACHE REGION # sets the default aux value for any non configured caches jcs.default=DC jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=100000 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.default.cacheattributes.DiskUsagePatternName=UPDATE jcs.default.cacheattributes.UseMemoryShrinker=true jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=86400 jcs.default.cacheattributes.ShrinkerIntervalSeconds=600 jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.MaxLifeSeconds=86400 jcs.system.groupIdCache=DC jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.system.groupIdCache.cacheattributes.MaxObjects=10000 jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache # jcs.system.groupIdCache.cacheattributes.DiskUsagePatternName=UPDATE ##### AUXILIARY CACHES ############################### # Indexed Disk Cache 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=/home/youngho/temp/jcs jcs.auxiliary.DC.attributes.MaxPurgatorySize=-1 jcs.auxiliary.DC.attributes.MaxKeySize=-1 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=5000 ## ## Event Queue Pool Policy ## jcs.auxiliary.DC.attributes.EventQueueType=POOLED jcs.auxiliary.DC.attributes.EventQueuePoolName=disk_cache_event_queue ################## THREAD POOL CONFIGURATION ################### # Default thread pool config thread_pool.default.useBoundary=true thread_pool.default.boundarySize=1500 thread_pool.default.maximumPoolSize=50 thread_pool.default.minimumPoolSize=4 thread_pool.default.keepAliveTime=3500 thread_pool.default.whenBlockedPolicy=WAIT thread_pool.default.startUpSize=4 ## # Default Cache Event Queue thread pool config, used by auxiliaries thread_pool.disk_cache_event_queue.useBoundary=true thread_pool.disk_cache_event_queue.boundarySize=2000 thread_pool.disk_cache_event_queue.maximumPoolSize=50 thread_pool.disk_cache_event_queue.minimumPoolSize=10 thread_pool.disk_cache_event_queue.keepAliveTime=3500 thread_pool.disk_cache_event_queue.whenBlockedPolicy=WAIT thread_pool.disk_cache_event_queue.startUpSize=4 #*************************************************** # Registry used to register and provide the # IRemoteCacheService service. # registry.host=192.168.1.26 registry.port=1102 # call back port to local caches. remote.cache.service.port=2102 # # cluster setting remote.cluster.LocalClusterConsistency=true remote.cluster.AllowClusterGet=true # # Remote Server Thread pool config jcs.remotecache.serverattributes.EventQueueType=POOLED jcs.remotecache.serverattributes.EventQueuePoolName=remote_server_event_queue ## Remote Logger jcs.remotecache.cacheeventlogger=com.nannet.jettiger.listener.RemoteCacheEventLogger thread_pool.remote_server_event_queue.boundarySize=75 thread_pool.remote_server_event_queue.maximumPoolSize=50 thread_pool.remote_server_event_queue.minimumPoolSize=4 thread_pool.remote_server_event_queue.keepAliveTime=350000 thread_pool.remote_server_event_queue.whenBlockedPolicy=WAIT thread_pool.remote_server_event_queue.startUpSize=4 ##*************************************************** ## ## CACHE REGIONS AVAILABLE ## ##*************************************************** jcs.region.com_nannet_jettiger_om_Activity=DC jcs.region.com_nannet_jettiger_om_Activity.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.com_nannet_jettiger_om_Activity.cacheattributes.MaxObjects=1000 jcs.region.com_nannet_jettiger_om_Activity.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.com_nannet_jettiger_om_Activity.cacheattributes.DiskUsagePatternName=UPDATE jcs.region.com_nannet_jettiger_om_Activity.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.region.com_nannet_jettiger_om_Activity.elementattributes.IsEternal=false ------------------------------------------------------------------------------------------------------ And Client System ccf file is ## # DEFAULT CACHE REGION jcs.default=DC,RFailover jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=100000 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.default.cacheattributes.DiskUsagePatternName=UPDATE jcs.default.cacheattributes.UseMemoryShrinker=true jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=86400 jcs.default.cacheattributes.ShrinkerIntervalSeconds=600 jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.MaxLifeSeconds=86400 # SYSTEM CACHE jcs.system.groupIdCache=DC,RFailover jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.system.groupIdCache.cacheattributes.MaxObjects=100000 jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.system.groupIdCache.cacheattributes.DiskUsagePatternName=UPDATE ##### AUXILIARY CACHES ############################### # Indexed Disk Cache 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:/jcs/jcs jcs.auxiliary.DC.attributes.MaxPurgatorySize=-1 jcs.auxiliary.DC.attributes.MaxKeySize=-1 jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=-1 jcs.auxiliary.DC.attributes.MaxRecycleBinSize=10000 ## ## Event Queue Pool Policy ## jcs.auxiliary.DC.attributes.EventQueueType=POOLED jcs.auxiliary.DC.attributes.EventQueuePoolName=disk_cache_event_queue jcs.auxiliary.DC.cacheeventlogger=com.nannet.jettiger.listener.CacheEventLogger ################## THREAD POOL CONFIGURATION ################### # Default thread pool config thread_pool.default.boundarySize=2000 thread_pool.default.maximumPoolSize=50 thread_pool.default.minimumPoolSize=4 thread_pool.default.keepAliveTime=350000 thread_pool.default.whenBlockedPolicy=WAIT thread_pool.default.startUpSize=4 # Disk Cache pool # Default Cache Event Queue thread pool config, used by auxiliaries thread_pool.disk_cache_event_queue.useBoundary=true thread_pool.disk_cache_event_queue.boundarySize=1500 thread_pool.disk_cache_event_queue.maximumPoolSize=50 thread_pool.disk_cache_event_queue.minimumPoolSize=2 thread_pool.disk_cache_event_queue.keepAliveTime=3500 thread_pool.disk_cache_event_queue.whenBlockedPolicy=WAIT thread_pool.disk_cache_event_queue.startUpSize=4 # Remote cache client thread pool config # jcs.auxiliary.RFailover=org.apache.jcs.auxiliary.remote.RemoteCacheFactory jcs.auxiliary.RFailover.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes jcs.auxiliary.RFailover.attributes.FailoverServers=192.168.1.26:1102 jcs.auxiliary.RFailover.attributes.LocalPort=2104 jcs.auxiliary.RFailover.attributes.RemoveUponRemotePut=true jcs.auxiliary.RFailover.attributes.GetOnly=false jcs.auxiliary.RFailover.attributes.Receive=true ## ## Event Queue Pool Policy ## jcs.auxiliary.RFailover.attributes.EventQueueType=POOLED jcs.auxiliary.RFailover.attributes.EventQueuePoolName=remote_cache_event_queue # Remote Cache pool # Default Cache Event Queue thread pool config, used by auxiliaries thread_pool.remote_cache_event_queue.useBoundary=true thread_pool.remote_cache_event_queue.boundarySize=1500 thread_pool.remote_cache_event_queue.maximumPoolSize=50 thread_pool.remote_cache_event_queue.minimumPoolSize=2 thread_pool.remote_cache_event_queue.keepAliveTime=3500 thread_pool.remote_cache_event_queue.whenBlockedPolicy=WAIT thread_pool.remote_cache_event_queue.startUpSize=4 ## ## Logger ## ## jcs.auxiliary.RFailover.cacheeventlogger=com.nannet.jettiger.listener.RemoteCacheEventLogger ##**************************************************************** ## # CACHE REGIONS AVAILABLE jcs.region.com_nannet_jettiger_om_Activity=DC,RFailover jcs.region.com_nannet_jettiger_om_Activity.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.region.com_nannet_jettiger_om_Activity.cacheattributes.MaxObjects=1000 jcs.region.com_nannet_jettiger_om_Activity.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.region.com_nannet_jettiger_om_Activity.cacheattributes.DiskUsagePatternName=UPDATE jcs.region.com_nannet_jettiger_om_Activity.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.region.com_nannet_jettiger_om_Activity.elementattributes.IsEternal=false I hope someone help me to solve this problem. Thanks, Youngho ps: If you can support by professonally please contact to me.