jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Luk" <David....@tvnz.co.nz>
Subject RE: Latest JCS and Cocoon 2.1.5-dev - unable to connect to remote cache server
Date Wed, 26 May 2004 22:23:27 GMT

This is the remote.cache.ccf that I am using.

There are multiple cocoon instances running, attempting to connect to this remote cache instance.

Thanks for your help.

# registry used to register and provide the IRmiCacheService service.
registry.host=localhost
# registry used to register and provide the IRmiCacheService service.
registry.host=localhost
registry.port=1102
# call back port to local caches.
remote.cache.service.port=1102
# tomcat config
remote.tomcat.on=false
remote.tomcat.xml=remote.tomcat.xml
# cluster setting
remote.cluster.LocalClusterConsistency=true
#not allowed -- remote.cluster.AllowClusterGet=false


##############################################################
################## 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=1
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.default.cacheattributes.UseMemoryShrinker=true
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=true
jcs.default.elementattributes.MaxLifeSeconds=7
jcs.default.elementattributes.IdleTime=1800
jcs.default.elementattributes.IsSpool=true
jcs.default.elementattributes.IsRemote=true
jcs.default.elementattributes.IsLateral=false

# SYSTEM CACHE
# should be defined for the storage of group attribute list
jcs.system.groupIdCache=DC
jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.system.groupIdCache.cacheattributes.MaxObjects=10

##############################################################
################## CACHE REGIONS AVAILABLE ###################
jcs.region.main=DC
jcs.region.main.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.main.cacheattributes.MaxObjects=1

##############################################################
################## AUXILIARY CACHES AVAILABLE ################
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=raf/remote

-----Original Message-----
From: Aaron Smuts [mailto:aasmuts@wisc.edu]
Sent: Thursday, 27 May 2004 01:01
To: 'Turbine JCS Users List'
Subject: RE: Latest JCS and Cocoon 2.1.5-dev - unable to connect toremotecacheserver



Can you send the server cache.ccf.

Aaron

> -----Original Message-----
> From: David Luk [mailto:David.Luk@tvnz.co.nz]
> Sent: Monday, May 24, 2004 11:45 PM
> To: turbine-jcs-user@jakarta.apache.org
> Subject: Latest JCS and Cocoon 2.1.5-dev - unable to connect to remote
> cacheserver
>
>
> Hi everyone,
>
> Have anyone tried to use the latest cocoon & JCS code from CVS?
> Apparently there are some code fixes for
> -	JCS in related to cache persistence
> -	cocoon.2.1.5-dev in related to the cache key creation
>
> I have the JCS remote cache server up and running but I am unable to
> configure my cocoon instance connecting to the remote JCS cache.
> Are there any configuration changes in between cocoon 2.1.4 and
2.1.5-dev
> that prevent the connection?
>
> Appreciate your help.
>
> Regards,
> David Luk.
>
> This is the cocoon JCS client log
> 2004-05-25 10:53:53,387 [main] DEBUG
> org.apache.jcs.engine.control.CompositeCache - Constructed cache with
name
> main and cache attributes: [ useLateral = true, useRemote = true,
useDisk
> = true, maxObjs = 12, maxSpoolPerRun = -1 ]
> 2004-05-25 10:53:53,387 [main] DEBUG
> org.apache.jcs.engine.control.CompositeCacheConfigurator - Parsing
region
> name 'main', value 'RCache2'
> 2004-05-25 10:53:53,387 [main] DEBUG
> org.apache.jcs.engine.control.CompositeCacheConfigurator - Parsing
> auxiliary named "RCache2".
> 2004-05-25 10:53:53,388 [main] DEBUG
> org.apache.jcs.engine.control.CompositeCacheConfigurator - Parsing
options
> for 'jcs.auxiliary.RCache2.attributes'
> 2004-05-25 10:53:53,388 [main] DEBUG
> org.apache.jcs.engine.control.CompositeCacheConfigurator - End of
parsing
> for 'jcs.auxiliary.RCache2.attributes'
> 2004-05-25 10:53:53,388 [main] DEBUG
> org.apache.jcs.auxiliary.remote.RemoteCacheNoWaitFacade - CONSTRUCTING
NO
> WAIT FAƇADE
> ... and nothing afterwards
>
> This is my default.ccf from cocoon
> # Cache configuration defaults.
>
> # DEFAULT CACHE REGION
>
> jcs.default=RCache2
>
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribut
es
> jcs.default.cacheattributes.MaxObjects=13
>
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory
.l
> ru.LRUMemoryCache
> jcs.default.cacheattributes.UseMemoryShrinker=false
> jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
> jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
> jcs.default.elementattributes.IsEternal=true
> jcs.default.elementattributes.MaxLifeSeconds=7
> jcs.default.elementattributes.IdleTime=1800
> jcs.default.elementattributes.IsSpool=true
> jcs.default.elementattributes.IsRemote=true
> jcs.default.elementattributes.IsLateral=false
>
> # System CACHE REGION
> jcs.system.groupIdCache=RCache2
>
jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeC
ac
> heAttributes
> jcs.system.groupIdCache.cacheattributes.MaxObjects=14
>
> # PRE-DEFINED CACHE REGIONS
>
> jcs.region.main=RCache2
>
jcs.region.main.cacheattributes=org.apache.jcs.engine.CompositeCacheAttr
ib
> utes
> jcs.region.main.cacheattributes.MaxObjects=9
>
> # REMOTE CACHES
>
jcs.auxiliary.RCache2=org.apache.jcs.auxiliary.remote.RemoteCacheFactory
>
jcs.auxiliary.RCache2.attributes=org.apache.jcs.auxiliary.remote.RemoteC
ac
> heAttributes
> jcs.auxiliary.RCache2.attributes.FailoverServers=localhost:1102
> jcs.auxiliary.RCache2.attributes.RemoveUponRemotePut=false
> jcs.auxiliary.RCache2.attributes.GetOnly=false
> jcs.auxiliary.RCache2.attributes.RemoteHost=localhost
> jcs.auxiliary.RCache2.attributes.RemotePort=1102
>
>
> TVNZ


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org


================================================================
CAUTION: This e-mail and any attachment(s) contains information
that is intended to be read only by the named recipient(s). It
may contain information that is confidential, proprietary or the
subject of legal privilege. This information is not to be used by
any other person and/or organisation. If you are not the intended
recipient, please advise us immediately and delete this e-mail
from your system. Do not use any information contained in it.

================================================================
For more information on the Television New Zealand Group, visit
us online at http://www.tvnz.co.nz
================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org


Mime
View raw message