You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by avyaktha <av...@gmail.com> on 2010/03/02 02:09:36 UTC
UDPDiscovery replication in JBoss
I am trying to setup jcs cache with UDP replication.
A put in one server cache should be detected and replicated across. I am
using the following cache.ccf
#Do not allow free spaces or new lines after the equals
# DEFAULT CACHE REGION
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.cacheattributes.UseMemoryShrinker=true
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=300
jcs.default.cacheattributes.ShrinkerIntervalSeconds=300
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
jcs.default.elementattributes.MaxLifeSeconds=300
jcs.default.elementattributes.IdleTime=1800
jcs.default.elementattributes.IsSpool=true
jcs.default.elementattributes.IsRemote=false
jcs.default.elementattributes.useDisk=false
jcs.default.elementattributes.IsLateral=true
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.TcpListenerPort=1110
jcs.auxiliary.LTCP.attributes.PutOnlyMode=true
jcs.auxiliary.LTCP.attributes.UdpDiscoveryAddr=228.5.6.8
jcs.auxiliary.LTCP.attributes.UdpDiscoveryPort=6780
jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=true
jcs.auxiliary.LTCP.attributes.Receive=true
jcs.auxiliary.LTCP.attributes.AllowGet=true
I dont see any indication in the logs that the UDP Discpvery is working no
messages regd replication. I tried searching through the forum and cudn't
find anything specific to this.
16:55:45,126 INFO [CompositeCacheManager] Creating cache manager from
config file: /cache.ccf
16:55:45,131 INFO [ThreadPoolManager] thread_pool.default PoolConfiguration
= useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150]
minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN]
startUpSize = [4]
16:55:45,134 INFO [CompositeCacheConfigurator] Setting default auxiliaries
to
16:55:45,137 INFO [CompositeCacheConfigurator] setting
defaultCompositeCacheAttributes to [ useLateral = false, useRemote = false,
useDisk = false, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
16:55:45,139 WARN [OptionConverter] No such property [useDisk] in
org.apache.jcs.engine.ElementAttributes.
16:55:45,140 INFO [CompositeCacheConfigurator] setting
defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE
= false, IS_ETERNAL = false, MaxLifeSeconds = 300, IdleTime = 1800,
CreateTime = 1267491345138, LastAccessTime = 1267491345138,
getTimeToLiveSeconds() = 299, createTime = 1267491345138 ]
16:55:45,140 INFO [CompositeCacheConfigurator] Parsed regions []
16:55:45,140 INFO [CompositeCacheConfigurator] Finished configuration in 7
ms.
16:55:45,140 INFO [CompositeCacheConfigurator] No special ElementAttribute
class defined for key
[jcs.region.config-cache-com.atti.adsvc.core.localpartner.Partner.elementattributes],
using default class.
16:55:45,162 INFO [LRUMemoryCache] initialized LRUMemoryCache for
config-cache-com.atti.adsvc.core.localpartner.Partner
16:55:45,162 INFO [CompositeCache] Constructed cache with name
[config-cache-com.atti.adsvc.core.localpartner.Partner] and cache attributes
[ useLateral = true, useRemote = false, useDisk = false, maxObjs = 1000,
maxSpoolPerRun = -1, diskUsagePattern = 0 ]
16:55:45,162 INFO [CompositeCacheConfigurator] No special ElementAttribute
class defined for key
[jcs.region.config-cache-java.lang.String.elementattributes], using default
class.
16:55:45,162 INFO [LRUMemoryCache] initialized LRUMemoryCache for
config-cache-java.lang.String
16:55:45,162 INFO [CompositeCache] Constructed cache with name
[config-cache-java.lang.String] and cache attributes [ useLateral = true,
useRemote = false, useDisk = false, maxObjs = 1000, maxSpoolPerRun = -1,
diskUsagePattern = 0 ]
Thanks in advance,
Suresh
--
View this message in context: http://old.nabble.com/UDPDiscovery-replication-in-JBoss-tp27751209p27751209.html
Sent from the JCS - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org