Hi,

I am currently working with Selena to tackle the issue.

And I have a question:
If I want to test the standalone remote JCS process, can I run telnet
and test the remote JCS connection? (e.g. telnet localhost 1102)
If not (i.e. cannot use telnet), can someone kindly give me some
suggestions about the way to test the remote JCS server connection? I
want to make sure the remote JCS server is running properly.

#### Some information about the configurations ####

I have generated the RMI stubs of the following classes
org.apache.jcs.auxiliary.remote.RemoteCacheListener
org.apache.jcs.auxiliary.remote.RemoteCacheWatchRepairable
org.apache.jcs.auxiliary.remote.ZombieRemoteCacheService
org.apache.jcs.auxiliary.remote.ZombieRemoteCacheWatch
org.apache.jcs.auxiliary.remote.server.RemoteCacheServer
org.apache.jcs.auxiliary.remote.server.RemoteCacheServerListener

Here is my 'netstat -a' output
Proto  Local Address          Foreign Address        State
TCP    TVNZ107268:1102        TVNZ107268.tvnzad.tvnz.co.nz:0  LISTENING

Here is my remote.cache.ccf and this is based on the remote.cache.ccf in
CVS

##############################################################
# 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
[EMAIL PROTECTED]@bin/conf/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.CompositeCacheAttribut
es
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=3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
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.CompositeC
acheAttributes
jcs.system.groupIdCache.cacheattributes.MaxObjects=10000
jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.e
ngine.memory.lru.LRUMemoryCache
jcs.system.groupIdCache.elementattributes=org.apache.jcs.engine.ElementA
ttributes
jcs.system.groupIdCache.elementattributes.IsEternal=true
jcs.system.groupIdCache.elementattributes.MaxLifeSeconds=3600
jcs.system.groupIdCache.elementattributes.IdleTime=1800
jcs.system.groupIdCache.elementattributes.IsSpool=true
jcs.system.groupIdCache.elementattributes.IsRemote=true
jcs.system.groupIdCache.elementattributes.IsLateral=false


##############################################################
################## CACHE REGIONS AVAILABLE ###################
# jcs.region.testCache1=DC,RCluster1
jcs.region.testCache1=DC
jcs.region.testCache1.cacheattributes=org.apache.jcs.engine.CompositeCac
heAttributes
jcs.region.testCache1.cacheattributes.MaxObjects=1000


##############################################################
################## AUXILIARY CACHES AVAILABLE ################
# server to update for clustering -- remote.cache.ccf 2
jcs.auxiliary.RCluster1=org.apache.jcs.auxiliary.remote.RemoteCacheFacto
ry
jcs.auxiliary.RCluster1.attributes=org.apache.jcs.auxiliary.remote.Remot
eCacheAttributes
jcs.auxiliary.RCluster1.attributes.RemoteTypeName=CLUSTER
jcs.auxiliary.RCluster1.attributes.RemoveUponRemotePut=false
#jcs.auxiliary.RCluster1.attributes.ClusterServers=localhost:1103
jcs.auxiliary.RCluster1.attributes.GetOnly=false
#jcs.auxiliary.RCluster1.attributes.LocalClusterConsistency=true

# server to update for clustering
jcs.auxiliary.RCluster2=org.apache.jcs.auxiliary.remote.RemoteCacheFacto
ry
jcs.auxiliary.RCluster2.attributes=org.apache.jcs.auxiliary.remote.Remot
eCacheAttributes
jcs.auxiliary.RCluster2.attributes.RemoteTypeName=CLUSTER
jcs.auxiliary.RCluster2.attributes.RemoveUponRemotePut=false
jcs.auxiliary.RCluster2.attributes.ClusterServers=localhost:1104
jcs.auxiliary.RCluster2.attributes.GetOnly=false
#jcs.auxiliary.RCluster2.attributes.LocalClusterConsistency=true

jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheF
actory
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.Indexe
dDiskCacheAttributes
[EMAIL PROTECTED]@/raf/remote


Any help would be much appreciated.

Cheers,
David Luk



================================================================
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to