Return-Path: Delivered-To: apmail-jakarta-turbine-jcs-user-archive@www.apache.org Received: (qmail 10683 invoked from network); 28 Apr 2004 02:34:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Apr 2004 02:34:08 -0000 Received: (qmail 53381 invoked by uid 500); 28 Apr 2004 02:33:49 -0000 Delivered-To: apmail-jakarta-turbine-jcs-user-archive@jakarta.apache.org Received: (qmail 53368 invoked by uid 500); 28 Apr 2004 02:33:49 -0000 Mailing-List: contact turbine-jcs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine JCS Users List" Reply-To: "Turbine JCS Users List" Delivered-To: mailing list turbine-jcs-user@jakarta.apache.org Received: (qmail 53353 invoked from network); 28 Apr 2004 02:33:49 -0000 Received: from unknown (HELO smtp4.wiscmail.wisc.edu) (144.92.197.190) by daedalus.apache.org with SMTP; 28 Apr 2004 02:33:49 -0000 Received: from conversion-daemon.smtp4.wiscmail.wisc.edu by smtp4.wiscmail.wisc.edu (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0HWU00001ZE2O0@smtp4.wiscmail.wisc.edu> (original mail from aasmuts@wisc.edu) for turbine-jcs-user@jakarta.apache.org; Tue, 27 Apr 2004 21:33:58 -0500 (CDT) Received: from dellpc (c66.168.23.103.mad.wi.charter.com [66.168.23.103]) by smtp4.wiscmail.wisc.edu (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTPSA id <0HWV000XZ0GL0P@smtp4.wiscmail.wisc.edu> for turbine-jcs-user@jakarta.apache.org; Tue, 27 Apr 2004 21:33:58 -0500 (CDT) Date: Tue, 27 Apr 2004 21:38:59 -0500 From: Aaron Smuts Subject: RE: unable to interact with remote server In-reply-to: To: 'Turbine JCS Users List' Message-id: <001401c42cc9$f6286e70$6717a842@smuts> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Do you have a firewall between the layers? What do you mean that " any request to that port gets > disconnected." Aaron > -----Original Message----- > From: Selena Dewar [mailto:Selena.Dewar@tvnz.co.nz] > Sent: Tuesday, April 27, 2004 8:57 PM > To: Turbine JCS Users List > Subject: RE: unable to interact with remote server > > > Sure thing, > > We changed the port number during some trial and error work ;o) > > Here's the client ccf (default.ccf - using cocoon) > ------------------------------------ > # DEFAULT CACHE REGION > jcs.default=RC2 > jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribut > es > jcs.default.cacheattributes.MaxObjects=1 > jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory > .lru.LRUMemoryCache > jcs.default.elementattributes.IsEternal=true > jcs.default.elementattributes.MaxLifeSeconds=24000 > jcs.default.elementattributes.IdleTime=180000 > jcs.default.elementattributes.IsSpool=true > jcs.default.elementattributes.IsRemote=true > jcs.default.elementattributes.IsLateral=false > > # REMOTE CACHES > jcs.auxiliary.RC2=org.apache.jcs.auxiliary.remote.RemoteCacheFactory > jcs.auxiliary.RC2.attributes=org.apache.jcs.auxiliary.remote.RemoteCache > Attributes > jcs.auxiliary.RC2.attributes.FailoverServers=172.26.121.92:1102 > jcs.auxiliary.RC2.attributes.RemoveUponRemotePut=false > jcs.auxiliary.RC2.attributes.GetOnly=false > > > Thanks again, > Selena > > -----Original Message----- > From: Travis Savo [mailto:tsavo@IFILM.com] > > Sent: Wednesday, April 28, 2004 1:41 PM > To: 'Turbine JCS Users List' > Subject: RE: unable to interact with remote server > > > Looks like the remote cache is starting up fine, and binding to the port > (which is good news). > > The next place I'd be looking is at the cache.ccf for the clients (which > you didn't include). I noticed you used a different port than the one I > did... I use 1099, but really this should make no difference assuming > the client is also pointing at the same port. > > Let's take a look at that client cache.ccf, yeah? > > -Travis Savo > > -----Original Message----- > From: Selena Dewar [mailto:Selena.Dewar@tvnz.co.nz] > Sent: Tuesday, April 27, 2004 6:32 PM > To: turbine-jcs-user@jakarta.apache.org > Subject: unable to interact with remote server > > > > Hello, > > We're trying to get an instance of JCS remote caching working and have > run into some trouble. Would someone be able to look over our ccf and > see if anything is amiss? > > We have had no problems with the build, and can run from commandline on > the remote server with no problems but any request to that port gets > disconnected. We get no errors in our logs. > > Running from commandline > --------------------------------- > java -classpath > .:commons-configuration-20040425.jar:commons-lang-2.0.jar:commons-loggin > g-1.0.3.jar:hsqldb-1.7.1.jar:javagroups-2.0.1.jar:jisp-2.5.1.jar:junit.j > ar:log4j-1.2.7.jar:servlet.jar:util.concurrent-1.3.3.jar:velocity-200404 > 25.jar:xercesImpl.jar:xml-apis.jar:xmlrpc-1.2-b1.jar > org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory > remote.cache.ccf > > Here is stdout on startup (if we run without log4j-1.2.7.jar): > --------------------------------- > 27/04/2004 18:28:23 > org.apache.jcs.engine.control.CompositeCacheConfigurator > setDefaultAuxValues > INFO: setting defaults to DC > 27/04/2004 18:28:23 > org.apache.jcs.engine.control.CompositeCacheConfigurator > setDefaultCompositeCacheAttributes > INFO: setting defaultCompositeCacheAttributes to [ useLateral = false, > useRemote = true, useDisk = true, maxObjs = 1000 ] 27/04/2004 18:28:23 > org.apache.jcs.engine.control.CompositeCacheConfigurator > setDefaultElementAttributes > INFO: setting defaultElementAttributes to [ IS_LATERAL = false, IS_SPOOL > = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = 24000, > IdleTime = 180000, CreateTime = 1083104903898, LastAccessTime = > 1083104903898, getTimeToLiveSeconds() = 23999972, createTime = > 1083104903898 ] > > This is the remote.cache.ccf > ---------------------------------- > # DEFAULT CACHE REGION > jcs.default=DC > jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttribut > es > jcs.default.cacheattributes.MaxObjects=1000 > jcs.default.cacheattributes.UseLateral=false > jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory > .lru.LRUMemoryCache > jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes > jcs.default.elementattributes.IsEternal=true > jcs.default.elementattributes.MaxLifeSeconds=24000 > jcs.default.elementattributes.IdleTime=180000 > jcs.default.elementattributes.IsSpool=true > jcs.default.elementattributes.IsRemote=true > jcs.default.elementattributes.IsLateral=false > > # AVAILABLE AUXILIARY CACHES > jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheF > actory > jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.Indexe > dDiskCacheAttributes > jcs.auxiliary.DC.attributes.DiskPath=/www/cocoon/webapps/cocoon/index-di > sk-cache > jcs.auxiliary.DC.attributes.RemoteTypeName=LOCAL > > > # Registry used to register and provide the > # IRemoteCacheService service. > registry.host=localhost > registry.port=1102 > # call back port to local caches. remote.cache.service.port=1102 > > > Does anyone have any ideas? Any help would be much appreciated. > > > > Thanks, > Selena > > > ================================================================ > 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 > > > ================================================================ > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org