A simple way to test is to run the tester script. > -----Original Message----- > From: David Luk [mailto:[EMAIL PROTECTED] > Sent: Friday, April 30, 2004 12:35 AM > To: Turbine JCS Users List > Subject: RE: unable to interact with remote server > > > Hi Aaron > > Should the remoteCacheStats script run locally or remotely to the JCS > instance? > When I run it locally, I got the following log > > 2004-04-30 17:27:24,872 [main] DEBUG > org.apache.jcs.auxiliary.remote.RemoteUtils - props.size=48, > {jcs.auxiliary.RCluster1.attributes.RemoteTypeName=CLUSTER, > registry.port=1102, > jcs.system.groupIdCache.elementattributes.IdleTime=1800, > jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600, > jcs.region.testCache1=DC, > jcs.auxiliary.RCluster2.attributes.RemoveUponRemotePut=false, > jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes, > [EMAIL PROTECTED]@bin/conf/remote.tomcat.xml, > jcs.auxiliary.RCluster2=org.apache.jcs.auxiliary.remote.RemoteCacheFacto > ry, jcs.default.elementattributes.IsEternal=false, > jcs.region.testCache1.cacheattributes.MaxObjects=1000, > jcs.auxiliary.RCluster1=org.apache.jcs.auxiliary.remote.RemoteCacheFacto > ry, jcs.system.groupIdCache=DC, > jcs.default.cacheattributes.ShrinkerIntervalSeconds=60, > jcs.auxiliary.RCluster2.attributes.GetOnly=false, > [EMAIL PROTECTED]@/raf/remote, > jcs.auxiliary.RCluster2.attributes.RemoteTypeName=CLUSTER, > jcs.auxiliary.RCluster1.attributes=org.apache.jcs.auxiliary.remote.Remot > eCacheAttributes, jcs.default.elementattributes.IsSpool=true, > jcs.auxiliary.RCluster1.attributes.RemoveUponRemotePut=false, > jcs.auxiliary.RCluster1.attributes.GetOnly=false, > jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.Indexe > dDiskCacheAttributes, jcs.default.cacheattributes.MaxObjects=1000, > registry.host=172.26.121.92, > jcs.default.elementattributes.IsLateral=false, > jcs.auxiliary.RCluster2.attributes.ClusterServers=localhost:1104, > jcs.system.groupIdCache.elementattributes.MaxLifeSeconds=3600, > jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheF > actory, remote.cluster.LocalClusterConsistency=true, > jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory > .lru.LRUMemoryCache, jcs.default.cacheattributes.UseMemoryShrinker=true, > jcs.system.groupIdCache.cacheattributes.MaxObjects=10000, > jcs.system.groupIdCache.elementattributes.IsEternal=true, > jcs.system.groupIdCache.elementattributes=org.apache.jcs.engine.ElementA > ttributes, remote.tomcat.on=false, > jcs.default.elementattributes.IsRemote=true, > jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.e > ngine.memory.lru.LRUMemoryCache, jcs.default=DC, > jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeC > acheAttributes, jcs.default.elementattributes.IdleTime=1800, > jcs.region.testCache1.cacheattributes=org.apache.jcs.engine.CompositeCac > heAttributes, > jcs.auxiliary.RCluster2.attributes=org.apache.jcs.auxiliary.remote.Remot > eCacheAttributes, > jcs.system.groupIdCache.elementattributes.IsSpool=true, > jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribut > es, remote.cache.service.port=1102, > jcs.default.elementattributes.MaxLifeSeconds=7, > jcs.system.groupIdCache.elementattributes.IsRemote=true, > jcs.system.groupIdCache.elementattributes.IsLateral=false} > 2004-04-30 17:27:24,872 [main] DEBUG > org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory - > getting cache stats > 2004-04-30 17:27:24,888 [main] DEBUG > org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory - > looking up server > //:1102/org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheService > 2004-04-30 17:27:25,029 [main] DEBUG > org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory - server > found > 2004-04-30 17:27:25,029 [main] DEBUG > org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory - obj = > org.apache.jcs.auxiliary.remote.server.RemoteCacheServer_Stub[RemoteStub > [ref: > [endpoint:[172.26.63.170:1202](remote),objID:[c5c3ac:fc39cde43f:-8000, > 0]]]] > 2004-04-30 17:27:25,029 [main] DEBUG > org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory - temp > 2004-04-30 17:27:25,029 [main] DEBUG > org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory - done. > > It seems it can locate the JCS instances, but I didn't manage to > increase the log level (I have already changed the default log level to > DEBUG in log4j.properties), can you point me to the right direction? > > Many thanks. > > Cheers, > David Luk. > > -----Original Message----- > From: Aaron Smuts [mailto:[EMAIL PROTECTED] > > Sent: Friday, 30 April 2004 16:38 > To: 'Turbine JCS Users List' > Subject: RE: unable to interact with remote server > > There is a script in the scripts directory called remoteCacheStats. You > will have to get set the classpath for it and the port, but it should > help. > > > Also, increase your log level. > > > There used to be an embedded server that hosted a servlet. This made it > easy. I'll see if I can get something like that working by early next > week again. > > Aaron > > > -----Original Message----- > > From: David Luk [mailto:[EMAIL PROTECTED] > > Sent: Thursday, April 29, 2004 9:42 PM > > To: Turbine JCS Users List > > Subject: RE: unable to interact with remote server > > > > > > > > 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] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > ================================================================ > 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
