jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Youngho Cho" <youn...@nannet.co.kr>
Subject Lateral TCP Cache config file for torque 3.1
Date Wed, 27 Jul 2005 09:43:17 GMT
Hello, 
I.m using  torque-3.1.
I would like to use Lateral TCP cache with at least  2 more servers.

My config file is following.
But I couldn't sucessful to synchronize or invalidate the caches between 2 servers so far.

Is there something wrong in my configure file ?

If any one use Lateral Cache with torque, please post the config file.
I'm very appreciated.

Thanks,

Youngho

------------------------------------------------------------------------

# DEFAULT CACHE REGION  
# sets the default aux value for any non configured caches
jcs.default=LTCP
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=2000
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

# this is copied from example, not sure of its utility
# SYSTEM CACHE
# should be defined for the storage of group attribute list
jcs.system.groupIdCache=
jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.system.groupIdCache.cacheattributes.MaxObjects=2000
jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache


# DEFINE Lateral TCP Auxiliary Cache
jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.LateralCacheFactory
jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP
jcs.auxiliary.LTCP.attributes.TcpServers=192.168.1.25:9112,192.168.1.12:9112
jcs.auxiliary.LTCP.attributes.TcpListenerPort=9111
jcs.auxiliary.LTCP.attributes.PutOnlyMode=true
# jcs.auxiliary.LTCP.attributes.PutOnlyMode=false
# jcs.auxiliary.LTCP.attributes.Receive=false

# CACHE REGIONS AVAILABLE 
# Regions preconfigured for caching
jcs.region.com_nannet_jettiger_om_JettigerUser=LTCP
jcs.region.com_nannet_jettiger_om_JettigerUser.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com_nannet_jettiger_om_JettigerUser.cacheattributes.MaxObjects=1200
jcs.region.com_nannet_jettiger_om_JettigerUser.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache

jcs.region.com_nannet_jettiger_om_Preference=LTCP
jcs.region.com_nannet_jettiger_om_Preference.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com_nannet_jettiger_om_Preference.cacheattributes.MaxObjects=1200
jcs.region.com_nannet_jettiger_om_Preference.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
Mime
View raw message