JCS uses commons logging. If you have log4j in the classpath, JCS logging uses the log4j.xml or .properties file. If you have the log4j appender log the log level, as you should, then you can tell what level the log message is printed out. Everything below looks like info level logging. If you send any more logs, please make sure the log level is in the output.
Cheers, Aaron --- Michael Toback <[EMAIL PROTECTED]> wrote: > Aaron, > > Thanks, I really appreciate your quick response. I > am not getting any > errors on the multicast anymore, but am getting what > appears to be an > error on starting (or finding?) the Lateral Cache. > BTW, is there a way > to get more verbose logging? > > Here is the output from the system log: > > [5/17/06 10:18:48:134 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCacheManager > configure Creating > cache manager from config file: /cache.ccf > [5/17/06 10:18:48:400 PDT] 00000033 ThreadPoolMan I > org.apache.jcs.utils.threadpool.ThreadPoolManager > loadConfig > thread_pool.default PoolConfiguration = useBoundary > = [true]boundarySize > = [2000]maximumPoolSize = [150]minimumPoolSize = > [4]keepAliveTime = > [300000]whenBlockedPolicy = [RUN]startUpSize = [4] > [5/17/06 10:18:48:494 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCacheConfigurator > setDefaultAuxValues Setting default auxiliaries to > [5/17/06 10:18:48:556 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCacheConfigurator > setDefaultCompositeCacheAttributes setting > defaultCompositeCacheAttributes to [ useLateral = > false, useRemote = > false, useDisk = false, maxObjs = 1000, > maxSpoolPerRun = -1 ] > [5/17/06 10:18:48:619 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCacheConfigurator > setDefaultElementAttributes setting > defaultElementAttributes to [ > IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = > true, IS_ETERNAL = true, > MaxLifeSeconds = -1, IdleTime = -1, CreateTime = > 1147886328619, > LastAccessTime = 1147886328619, > getTimeToLiveSeconds() = -1, createTime > = 1147886328619 ] > [5/17/06 10:18:48:822 PDT] 00000033 LRUMemoryCach I > org.apache.jcs.engine.memory.lru.LRUMemoryCache > initialize initialized > LRUMemoryCache for IcClientCache > [5/17/06 10:18:49:009 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCache <init> > Constructed cache > with name: IcClientCache > [5/17/06 10:18:49:009 PDT] 00000033 LRUMemoryCach I > org.apache.jcs.engine.memory.lru.LRUMemoryCache > initialize initialized > LRUMemoryCache for ChordiantDataCache > [5/17/06 10:18:49:025 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCache <init> > Constructed cache > with name: ChordiantDataCache > [5/17/06 10:18:49:040 PDT] 00000033 CompositeCach E > org.apache.jcs.engine.control.CompositeCacheConfigurator > parseAuxiliary > Could not instantiate auxFactory named "LTCP". > [5/17/06 10:18:49:119 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCacheConfigurator > parseRegions > Parsed regions [IcClientCache, ChordiantDataCache] > [5/17/06 10:18:49:290 PDT] 00000033 CompositeCach I > org.apache.jcs.engine.control.CompositeCacheConfigurator > doConfigure > Finished configuration in 859 ms. > > Here is my configuration (The IcCache is being used > by a different > application): > > # DEFAULT CACHE REGION > # Sets the default value for any non configured > caches > jcs.default= > jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribut > es > jcs.default.cacheattributes.useLateral=false > jcs.default.cacheattributes.useRemote=false > jcs.default.cacheattributes.useDisk=false > jcs.default.cacheattributes.MaxObjects=1000 > jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory > .lru.LRUMemoryCache > jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes > > # default region used by the OJB > jcs.region.IcClientCache= > jcs.region.IcClientCache.cacheattributes=org.apache.jcs.engine.Composite > CacheAttributes > jcs.region.IcClientCache.cacheattributes.MaxObjects=1000 > jcs.region.IcClientCache.cacheattributes.MemoryCacheName=org.apache.jcs. > engine.memory.lru.LRUMemoryCache > jcs.region.IcClientCache.cacheattributes.UseMemoryShrinker=true > jcs.region.IcClientCache.cacheattributes.MaxMemoryIdleTimeSeconds=3600 > jcs.region.IcClientCache.cacheattributes.ShrinkerIntervalSeconds=300 > jcs.region.IcClientCache.elementattributes=org.apache.jcs.engine.Element > Attributes > jcs.region.IcClientCache.elementattributes.IsEternal=false > > #jcs.region.IcClientCache.elementattributes.MaxLifeSeconds=1 > jcs.region.IcClientCache.elementattributes.IdleTime=28800 > jcs.region.IcClientCache.elementattributes.IsSpool=false > jcs.region.IcClientCache.elementattributes.IsRemote=false > jcs.region.IcClientCache.elementattributes.IsLateral=false > > # default region used by the OJB > jcs.region.ChordiantDataCache=LTCP > jcs.region.ChordiantDataCache.cacheattributes=org.apache.jcs.engine.Comp > ositeCacheAttributes > jcs.region.ChordiantDataCache.cacheattributes.MaxObjects=1000 > jcs.region.ChordiantDataCache.cacheattributes.MemoryCacheName=org.apache > .jcs.engine.memory.lru.LRUMemoryCache > jcs.region.ChordiantDataCache.cacheattributes.UseMemoryShrinker=true > jcs.region.ChordiantDataCache.cacheattributes.MaxMemoryIdleTimeSeconds=3 > 600 > jcs.region.ChordiantDataCache.cacheattributes.ShrinkerIntervalSeconds=30 > 0 > jcs.region.ChordiantDataCache.elementattributes=org.apache.jcs.engine.El > ementAttributes > jcs.region.ChordiantDataCache.elementattributes.IsEternal=true > jcs.region.ChordiantDataCache.elementattributes.IdleTime=28800 > jcs.region.ChordiantDataCache.elementattributes.IsSpool=false > jcs.region.ChordiantDataCache.elementattributes.IsRemote=false > jcs.region.ChordiantDataCache.elementattributes.IsLateral=true > > # Lateral TCP Distribution with UDP Discovery > jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tc > p.TCPLateralCacheAttributes > jcs.auxiliary.LTCP.attributes.TcpListenerPort=1118 > jcs.auxiliary.LTCP.attributes.UdpDiscoveryAddr=239.123.1.200 > jcs.auxiliary.LTCP.attributes.UdpDiscoveryPort=6781 > jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=true > jcs.auxiliary.LTCP.attributes.Receive=true > jcs.auxiliary.LTCP.attributes.AllowGet=false > jcs.auxiliary.LTCP.attributes.IssueRemoveOnPut=false > jcs.auxiliary.LTCP.attributes.FilterRemoveByHashCode=true > > > Michael I Toback > Principal Engineer > Orchestrating Business Processes > Chordiant Software > Cupertino, Ca 95014 > (408)-517-6165 > > > > -----Original Message----- > From: Aaron Smuts [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 2:11 PM > To: JCS Users List > Subject: Re: UDP Discovery mode with JCS 1.2.7.3 > > The example on this page is good too: > http://jakarta.apache.org/jcs/LateralTCPProperties.html > > > > --- Michael Toback <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > > > > > I am trying to create a JCS cache which will sync > up > > with multiple > > caches defined in appserver instances, in this > case > > a WebSphere 6 > > cluster. > > > > > > > > The documentation shows an example configuration > to > > be: > > > > > > > > > jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.LateralCacheFactory > > > > > jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.LateralCa > > cheAttributes > > > > > jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP > > > > jcs.auxiliary.LTCP.attributes.TcpListenerPort=1110 > > > > jcs.auxiliary.LTCP.attributes.PutOnlyMode=true > === message truncated === --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]