From jcs-usersdavisadrian@example.net Fri Aug 01 15:19:29 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 77709 invoked from network); 1 Aug 2008 15:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 15:19:29 -0000 Received: (qmail 70850 invoked by uid 500); 1 Aug 2008 15:19:29 -0000 Delivered-To: davisadrian@example.net Received: (qmail 70705 invoked by uid 500); 1 Aug 2008 15:19:28 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 70694 invoked by uid 99); 1 Aug 2008 15:19:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 08:19:28 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO l09000g0.kohls.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 15:18:32 +0000 Received: from Kscan04.kohls.com (msweep4.kohls.com [83.161.120.155]) by l09000g0.kohls.com (83.161.120.15560308/8.12.11) with ESMTP id m71FFnKT028151 for <davisadrian@example.net>; Fri, 1 Aug 2008 10:15:49 -0500 X-ASG-Debug-ID: 1217603748-73b601a20000-HDrbHV X-Barracuda-URL: http://83.161.120.155:8000/cgi-bin/mark.cgi Received: from LNDC0003.cp.ad.kohls.com (unknown [83.161.120.155]) by Kscan04.kohls.com (Spam Firewall) with ESMTP id ED424591E70 for <davisadrian@example.net>; Fri, 1 Aug 2008 10:15:48 -0500 (CDT) Received: from LNDC0003.cp.ad.kohls.com ([83.161.120.155]) by Kscan04.kohls.com with ESMTP id WFB5Og02W8oBLwhD for <davisadrian@example.net>; Fri, 01 Aug 2008 10:15:48 -0500 (CDT) Received: from LNCORP01.cp.ad.kohls.com ([83.161.120.155]) by LNDC0003.cp.ad.kohls.com (Lotus Domino Release 6.5.4FP3) with ESMTP id 2008080110154758-107119 ; Fri, 1 Aug 2008 10:15:47 -0500 In-Reply-To: <davisadrian@example.net> To: "JCS Users List" <davisadrian@example.net> Cc: davisadrian@example.net X-ASG-Orig-Subj: Secondary JCS Server Subject: Secondary JCS Server MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.3 September 14, 2004 Message-ID: <davisadrian@example.net> From: davisadrian@example.net Date: Fri, 1 Aug 2008 10:16:23 -0500 X-MIMETrack: Serialize by Router on LNCORP01/Kohls(Release 6.5.4FP3|January 09, 2006) at 08/01/2008 10:15:47 AM, Serialize complete at 08/01/2008 10:15:47 AM, Itemize by SMTP Server on LNDC0003/Kohls(Release 6.5.4FP3|January 09, 2006) at 08/01/2008 10:15:47 AM, Serialize by Router on LNDC0003/Kohls(Release 6.5.4FP3|January 09, 2006) at 08/01/2008 10:15:48 AM, Serialize complete at 08/01/2008 10:15:48 AM Content-Type: multipart/alternative; boundary="=_alternative 0053EAB486257498_=" X-Barracuda-Connect: UNKNOWN[83.161.120.155] X-Barracuda-Start-Time: 1217603748 X-Barracuda-Virus-Scanned: by davisadrian@example.net X-Barracuda-Spam-Score: -1002.00 X-Barracuda-Spam-Status: No, SCORE=-1002.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1000.0 X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0053EAB486257498_= Content-Type: text/plain; charset="US-ASCII" Is there a setting to have the secondary JCS Server ping the primary more often to determine if the primary is down? Example, we are testing with a primary and a secondary. When the primary is brought down, we would like to immediately have requests go to the secondary. But it does not seem to immediately go to the secondary, there is a pause. In that time, it seems that objects are getting misplaced. Rick Francisco Programmer Analyst - Information Services Kohl's Department Stores 326.525.9289 davisadrian@example.net CONFIDENTIALITY NOTICE: This is a transmission from Kohl's Department Stores, Inc. and may contain information which is confidential and proprietary. If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited. If you have received this transmission in error, please destroy it and notify us {{EMAIL+PHONE}}. CAUTION: Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time without any further consent. --=_alternative 0053EAB486257498_=-- From jcs-usersdavisadrian@example.net Fri Aug 01 18:09:46 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 92673 invoked from network); 1 Aug 2008 18:09:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 18:09:46 -0000 Received: (qmail 99459 invoked by uid 500); 1 Aug 2008 18:09:45 -0000 Delivered-To: davisadrian@example.net Received: (qmail 99432 invoked by uid 500); 1 Aug 2008 18:09:45 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 99420 invoked by uid 99); 1 Aug 2008 18:09:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 11:09:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web38704.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Aug 2008 18:08:49 +0000 Received: (qmail 42874 invoked by uid 60001); 1 Aug 2008 18:08:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=CT7zz76TnKt4Dd7hQ+1hlMRDEvem8Hqi0FAsllItS3SBef5Los0HCFyxjxvppMWnrLfBAhpHxWPypi0YQ5wKjwbrYaRvvyeC2teEFunFH+ROmL5Pyrh5liYVkNeP7gfjpfm7h0I3WOJmUcmC8bqHkK/4cg2Shet6Kw3j94eVCbk=; Received: from [83.161.120.155] by web38704.mail.mud.yahoo.com via HTTP; Fri, 01 Aug 2008 11:08:14 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Fri, 1 Aug 2008 11:08:14 -0700 (PDT) From: Aaron Smuts <davisadrian@example.net> Reply-To: davisadrian@example.net Subject: Re: Secondary JCS Server To: JCS Users List <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org The way it works now is that outages are detected by failures to put or get. There is no active monitoring. We could, of course, build this in. Perhaps we should. Aaron --- On Fri, 8/1/08, davisadrian@example.net <davisadrian@example.net> wrote: > From: davisadrian@example.net <davisadrian@example.net> > Subject: Secondary JCS Server > To: "JCS Users List" <davisadrian@example.net> > Cc: davisadrian@example.net > Date: Friday, August 1, 2008, 8:16 AM > Is there a setting to have the secondary JCS Server ping the > primary more > often to determine if the primary is down? > > Example, we are testing with a primary and a secondary. > When the primary > is brought down, we would like to immediately have requests > go to the > secondary. But it does not seem to immediately go to the > secondary, there > is a pause. In that time, it seems that objects are > getting misplaced. > > Rick Francisco > Programmer Analyst - Information Services > Kohl's Department Stores > 326.525.9289 > davisadrian@example.net > > CONFIDENTIALITY NOTICE: > This is a transmission from Kohl's Department Stores, > Inc. > and may contain information which is confidential and > proprietary. > If you are not the addressee, any disclosure, copying or > distribution or use of the contents of this message is > expressly prohibited. > If you have received this transmission in error, please > destroy it and notify us {{EMAIL+PHONE}}. > > CAUTION: > Internet and e-mail communications are Kohl's property > and Kohl's reserves the right to retrieve and read any > message created, sent and received. Kohl's reserves the > right to monitor messages by authorized Kohl's > Associates at any time > without any further consent. --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Fri Aug 01 18:24:04 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 7020 invoked from network); 1 Aug 2008 18:24:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Aug 2008 18:24:04 -0000 Received: (qmail 9589 invoked by uid 500); 1 Aug 2008 18:24:03 -0000 Delivered-To: davisadrian@example.net Received: (qmail 9567 invoked by uid 500); 1 Aug 2008 18:24:03 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 9553 invoked by uid 99); 1 Aug 2008 18:24:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 11:24:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web38708.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 01 Aug 2008 18:23:07 +0000 Received: (qmail 28737 invoked by uid 60001); 1 Aug 2008 18:22:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=CUvdk7e3BEZfBy7n58swghbACRh3gFstbtoCsmTDycfZJ/7p6E/4BwFC8iCPIxvVfjHH0RvyoNGkDI6M6sKKhWzAqzR/J0j3TB6wO45sjSPWTe2afZUHRgIujydklnG8rw2OEpH7G273qqwSa+0P3uzQvTHHl/vvoeqmvvxQDd0=; Received: from [83.161.120.155] by web38708.mail.mud.yahoo.com via HTTP; Fri, 01 Aug 2008 11:22:32 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Fri, 1 Aug 2008 11:22:32 -0700 (PDT) From: Aaron Smuts <davisadrian@example.net> Reply-To: davisadrian@example.net Subject: Re: Disk cache is missing entries To: JCS Users List <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org You could set the purgatory size to greater than the number you plan to insert, but I doubt that you have that much memory. What you want is probably to make the puts synchronous. That is, you'd like the thread doing the inserts to wait until the insertion is complete to return (if the buffer is full). To do this, you can configure the disk cache to use a pool type event queue. Configure the pool to use a queue and set the when full policy to RUN. http://jakarta.apache.org/jcs/IndexedDiskCacheProperties.html There is another property of the thread pool called "whenBlockedPolicy" that is not on the site docs. Set it to "RUN". Aaron --- On Tue, 7/29/08, Olivier Toromanoff <davisadrian@example.net> wrote: > From: Olivier Toromanoff <davisadrian@example.net> > Subject: Disk cache is missing entries > To: davisadrian@example.net > Date: Tuesday, July 29, 2008, 4:46 AM > Hi, > > I am currently trying to integrate JCS into a project > mainly for its > disk based caching functionalities. > > When the software starts up, I put a lot (few millions) > entries into the > cache. > These entries will never change and will be accessed at > runtime. > > The problem that I have, is that some entries are missing > when I try to > get them. > > I read on this mailing list that it could be caused by the > purgatory > that could discard some entries before to store them to the > disk when > the queue becomes too long. > What would be the best configuration/best usage to solve > this issue? > And if you think it is caused by something else, how can I > prevent it? > > Here is my current configuration: > > # 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=5000 > jcs.default.cacheattributes.DiskUsagePatternName=UPDATE > jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache > jcs.default.elementattributes.IsEternal=true > > # CACHE REGIONS AVAILABLE > # Regions preconfigured for caching > jcs.region.mainregion=DC > jcs.region.mainregion.cacheattributes.MaxObjects=1200 > > # AUXILIARY CACHES AVAILABLE > # Primary Disk Cache -- faster than the rest because of > memory key storage > 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=data/caches > jcs.auxiliary.DC.attributes.MaxKeySize=-1 > > > Thanks, > Kind regards, > Olivier. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > davisadrian@example.net > For additional commands, e-mail: > davisadrian@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Thu Aug 07 14:15:09 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 60649 invoked from network); 7 Aug 2008 14:15:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Aug 2008 14:15:09 -0000 Received: (qmail 3110 invoked by uid 500); 7 Aug 2008 14:15:08 -0000 Delivered-To: davisadrian@example.net Received: (qmail 3089 invoked by uid 500); 7 Aug 2008 14:15:07 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 3078 invoked by uid 99); 7 Aug 2008 14:15:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 07:15:07 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 14:14:11 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <davisadrian@example.net>) id 1KR6GE-0005kR-0Z for davisadrian@example.net; Thu, 07 Aug 2008 07:14:38 -0700 Message-ID: <davisadrian@example.net> Date: Thu, 7 Aug 2008 07:14:37 -0700 (PDT) From: vijudas <davisadrian@example.net> To: davisadrian@example.net Subject: Problems with Remote Server Configuration (JCSAdmin) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: davisadrian@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hi, We have currently deployed an Enterprise Application with a web Application inside, having the JCSAdmin JSP and the jcs-1.3 jar. All tests are being carried out in a single machine (meaning the remote server and client are running in the same localhost). We tried connecting to the remote host in two ways: Method 1: Run the remote server outside the container (Weblogic), and specify the port in the client=E2=80=99s cache.ccf file.=20 Method 2: Run the remote server (in the same container where the client is hosted) using RemoteCacheStartupServlet. In either case, we were able to put and get objects from the Remote Server.= =20 But we are currently facing following Issues with the JCSAdmin jsp page: 1.=09The JCSAdmin jsp does not show correct count of the cached elements, i= t reflects only elements in the memory cache and ignores the ones cached in the remote server in case if the MaxObjects of Memory cache is greater than the total number of cached elements. =20 (For Instance If the LRUMemory size is 5 and we put 100 elements in the cache for a particular region then the count shown in the JCSAdmin page is always lesser than 5.=20 Still we are able to retrieve the other elements cached in the remote serve= r though they are not listed in the detail page) 2.=09When there are more than one regions defined in the cache.ccf file the Admin page does not show all the regions on load. Remote Server configuration: # Registry used to register and provide the # IRemoteCacheService service. registry.host=3Dlocalhost registry.port=3D4444 # call back port to local caches. #remote.cache.service.port=3D1102 # cluster setting remote.cluster.LocalClusterConsistency=3Dtrue remote.cluster.AllowClusterGet=3Dtrue Client configuration: # DEFAULT CACHE REGION # sets the default aux value for any non configured caches jcs.default=3DRC jcs.default.cacheattributes=3D org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=3D0 jcs.default.cacheattributes.MemoryCacheName=3D org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.default.elementattributes.IsEternal=3Dfalse jcs.default.elementattributes.MaxLifeSeconds=3D3600 jcs.default.elementattributes.IdleTime=3D1800 jcs.default.elementattributes.IsSpool=3Dtrue jcs.default.elementattributes.IsRemote=3Dtrue jcs.default.elementattributes.IsLateral=3Dtrue # Regions preconfigured for caching jcs.region.bookCache=3DRC jcs.region.bookCache.cacheattributes=3Dorg.apache.jcs.engine.CompositeCache= Attributes jcs.region.bookCache.cacheattributes.MaxObjects=3D5 jcs.region.bookCache.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.engin= e.memory.lru.LRUMemoryCache jcs.region.bookCache.elementattributes.IsEternal=3Dfalse jcs.region.bookCache.elementattributes.MaxLifeSeconds=3D7200 jcs.region.bookCache.elementattributes.IdleTime=3D1800 jcs.region.bookCache.elementattributes.IsSpool=3Dtrue jcs.region.bookCache.elementattributes.IsRemote=3Dtrue jcs.region.bookCache.elementattributes.IsLateral=3Dtrue jcs.auxiliary.RC=3Dorg.apache.jcs.auxiliary.remote.RemoteCacheFactory jcs.auxiliary.RC.attributes=3Dorg.apache.jcs.auxiliary.remote.RemoteCacheAt= tributes jcs.auxiliary.RC.attributes.RemoteTypeName=3DLOCAL jcs.auxiliary.RC.attributes.FailoverServers=3Dlocalhost:4444 jcs.auxiliary.RC.attributes.RemoveUponRemotePut=3Dtrue jcs.auxiliary.RC.attributes.RmiSocketFactoryTimeoutMillis=3D500000 jcs.auxiliary.RC.attributes.GetOnly=3Dfalse jcs.auxiliary.RC.attributes.Receive=3Dtrue Any help will be appreciated. Many Thanks, Vijayalakshmi Devadoss --=20 View this message in context: http://www.nabble.com/Problems-with-Remote-Se= rver-Configuration-%28JCSAdmin%29-tp18871449p18871449.html Sent from the JCS - Users mailing list davisadrian@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Thu Aug 07 15:51:23 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 12268 invoked from network); 7 Aug 2008 15:51:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Aug 2008 15:51:23 -0000 Received: (qmail 58514 invoked by uid 500); 7 Aug 2008 15:51:21 -0000 Delivered-To: davisadrian@example.net Received: (qmail 58491 invoked by uid 500); 7 Aug 2008 15:51:21 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 58480 invoked by uid 99); 7 Aug 2008 15:51:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 08:51:21 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web38705.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Aug 2008 15:50:24 +0000 Received: (qmail 87962 invoked by uid 60001); 7 Aug 2008 15:49:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=d5kaUYqV3weTVdQD0DVJQlqheM7tYaenY0u/RdjEP4caX3hoMyen+zRdpbp6coAYTXYDvztW7E7lfrO/QOFxdM5mwOjdizrW6siU3ORzHytTav8T1VPApW1X+GFO8o6hLnwXrAhgPE3EN8DE3VF2U/ikftN/r4a/y5t1sXPTe4o=; Received: from [83.161.120.155] by web38705.mail.mud.yahoo.com via HTTP; Thu, 07 Aug 2008 08:49:50 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Thu, 7 Aug 2008 08:49:50 -0700 (PDT) From: Aaron Smuts <davisadrian@example.net> Reply-To: davisadrian@example.net Subject: Re: Problems with Remote Server Configuration (JCSAdmin) To: JCS Users List <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org The admin page is working as designed. The number on the summary page mere= ly shows how many are in the local memory cache. If you want to know how many are on disk, you need to go to the detail for = the region and then look at the stats data. If you want to see what the remote cache has, you need to go to the admin p= age on the remote cache server. Aaron --- On Thu, 8/7/08, vijudas <davisadrian@example.net> wrote: > From: vijudas <davisadrian@example.net> > Subject: Problems with Remote Server Configuration (JCSAdmin) > To: davisadrian@example.net > Date: Thursday, August 7, 2008, 7:14 AM > Hi, >=20 > We have currently deployed an Enterprise Application with a > web Application > inside, having the JCSAdmin JSP and the jcs-1.3 jar. All > tests are being > carried out in a single machine (meaning the remote server > and client are > running in the same localhost). >=20 > We tried connecting to the remote host in two ways: > Method 1: Run the remote server outside the container > (Weblogic), and > specify the port in the client=E2=80=99s cache.ccf file.=20 > Method 2: Run the remote server (in the same container > where the client is > hosted) using RemoteCacheStartupServlet. >=20 > In either case, we were able to put and get objects from > the Remote Server.=20 >=20 > But we are currently facing following Issues with the > JCSAdmin jsp page: >=20 > 1.=09The JCSAdmin jsp does not show correct count of the > cached elements, it > reflects only elements in the memory cache and ignores the > ones cached in > the remote server in case if the MaxObjects of Memory cache > is greater than > the total number of cached elements. =20 >=20 > (For Instance If the LRUMemory size is 5 and we put 100 > elements in the > cache for a particular region then the count shown in the > JCSAdmin page is > always lesser than 5.=20 > Still we are able to retrieve the other elements cached in > the remote server > though they are not listed in the detail page) >=20 > 2.=09When there are more than one regions defined in the > cache.ccf file the > Admin page does not show all the regions on load. >=20 > Remote Server configuration: > # Registry used to register and provide the > # IRemoteCacheService service. > registry.host=3Dlocalhost > registry.port=3D4444 > # call back port to local caches. > #remote.cache.service.port=3D1102 > # cluster setting > remote.cluster.LocalClusterConsistency=3Dtrue > remote.cluster.AllowClusterGet=3Dtrue >=20 > Client configuration: >=20 > # DEFAULT CACHE REGION > # sets the default aux value for any non configured caches > jcs.default=3DRC > jcs.default.cacheattributes=3D > org.apache.jcs.engine.CompositeCacheAttributes > jcs.default.cacheattributes.MaxObjects=3D0 > jcs.default.cacheattributes.MemoryCacheName=3D > org.apache.jcs.engine.memory.lru.LRUMemoryCache > jcs.default.elementattributes.IsEternal=3Dfalse > jcs.default.elementattributes.MaxLifeSeconds=3D3600 > jcs.default.elementattributes.IdleTime=3D1800 > jcs.default.elementattributes.IsSpool=3Dtrue > jcs.default.elementattributes.IsRemote=3Dtrue > jcs.default.elementattributes.IsLateral=3Dtrue >=20 >=20 > # Regions preconfigured for caching > jcs.region.bookCache=3DRC > jcs.region.bookCache.cacheattributes=3Dorg.apache.jcs.engine.CompositeCac= heAttributes > jcs.region.bookCache.cacheattributes.MaxObjects=3D5 > jcs.region.bookCache.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.eng= ine.memory.lru.LRUMemoryCache > jcs.region.bookCache.elementattributes.IsEternal=3Dfalse > jcs.region.bookCache.elementattributes.MaxLifeSeconds=3D7200 > jcs.region.bookCache.elementattributes.IdleTime=3D1800 > jcs.region.bookCache.elementattributes.IsSpool=3Dtrue > jcs.region.bookCache.elementattributes.IsRemote=3Dtrue > jcs.region.bookCache.elementattributes.IsLateral=3Dtrue >=20 > jcs.auxiliary.RC=3Dorg.apache.jcs.auxiliary.remote.RemoteCacheFactory > jcs.auxiliary.RC.attributes=3Dorg.apache.jcs.auxiliary.remote.RemoteCache= Attributes > jcs.auxiliary.RC.attributes.RemoteTypeName=3DLOCAL > jcs.auxiliary.RC.attributes.FailoverServers=3Dlocalhost:4444 > jcs.auxiliary.RC.attributes.RemoveUponRemotePut=3Dtrue > jcs.auxiliary.RC.attributes.RmiSocketFactoryTimeoutMillis=3D500000 > jcs.auxiliary.RC.attributes.GetOnly=3Dfalse > jcs.auxiliary.RC.attributes.Receive=3Dtrue >=20 > Any help will be appreciated. >=20 > Many Thanks, > Vijayalakshmi Devadoss >=20 > --=20 > View this message in context: > http://www.nabble.com/Problems-with-Remote-Server-Configuration-%28JCSAdm= in%29-tp18871449p18871449.html > Sent from the JCS - Users mailing list archive at > Nabble.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: > davisadrian@example.net > For additional commands, e-mail: > davisadrian@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Fri Aug 08 03:26:24 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 57721 invoked from network); 8 Aug 2008 03:26:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Aug 2008 03:26:24 -0000 Received: (qmail 17089 invoked by uid 500); 8 Aug 2008 03:26:23 -0000 Delivered-To: davisadrian@example.net Received: (qmail 17067 invoked by uid 500); 8 Aug 2008 03:26:23 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 17056 invoked by uid 99); 8 Aug 2008 03:26:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 20:26:23 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2008 03:25:26 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <davisadrian@example.net>) id 1KRIbx-0002ju-VO for davisadrian@example.net; Thu, 07 Aug 2008 20:25:53 -0700 Message-ID: <davisadrian@example.net> Date: Thu, 7 Aug 2008 20:25:53 -0700 (PDT) From: danparker <davisadrian@example.net> To: davisadrian@example.net Subject: JDBC not working as expected MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: davisadrian@example.net X-Virus-Checked: Checked by ClamAV on apache.org http://www.nabble.com/file/p18884628/cache_FDN_WithJDBC.ccf cache_FDN_WithJDBC.ccf We've got three cache regions we want to have the contents in memory(for performance) and spooled out to the database so that we can recover in a failover situation. Attached is the configuration file. We are seeing the memory cache fill up but nothing is going into the database. I've set the DiskUsagePattern=update and IsSpool=True - is there something else I'm missing? -- View this message in context: http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18884628.html Sent from the JCS - Users mailing list davisadrian@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Mon Aug 11 23:01:40 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 92761 invoked from network); 11 Aug 2008 23:01:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Aug 2008 23:01:40 -0000 Received: (qmail 6450 invoked by uid 500); 11 Aug 2008 23:01:38 -0000 Delivered-To: davisadrian@example.net Received: (qmail 6429 invoked by uid 500); 11 Aug 2008 23:01:38 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 6412 invoked by uid 99); 11 Aug 2008 23:01:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 16:01:38 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web38701.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 11 Aug 2008 23:00:40 +0000 Received: (qmail 24126 invoked by uid 60001); 11 Aug 2008 23:00:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=dko0K4kqwEv1eTnWTDZ61/Pq7DmO6arpejp51gMziS52VjNklIhCrLHOuCgFtIhgzWYHkE0UBhBAy91CBXYvA9hw5EJivOvYSD6/EQwEdXm3IKATMWRoz3D9+/jo/ZpO4dROJEGWlDgopgl9RocehIEuk6ItsBw3x9Sfq/U/3xc=; Received: from [83.161.120.155] by web38701.mail.mud.yahoo.com via HTTP; Mon, 11 Aug 2008 16:00:04 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Mon, 11 Aug 2008 16:00:04 -0700 (PDT) From: Aaron Smuts <davisadrian@example.net> Reply-To: davisadrian@example.net Subject: Re: JDBC not working as expected To: JCS Users List <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org There is at least one typo . . . jcs.auxiliary.JDBCInteraction=org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheFactory jcs.auxiliary.ICPC.attributes=org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheAttributes . . . "JDBCInteraction" should be "ICPC". I think that the "DiskUsagePattern" should be "DiskUsagePatternName". I think there might be a typo in the docs. Sorry. Aaron --- On Thu, 8/7/08, danparker <davisadrian@example.net> wrote: > From: danparker <davisadrian@example.net> > Subject: JDBC not working as expected > To: davisadrian@example.net > Date: Thursday, August 7, 2008, 8:25 PM > http://www.nabble.com/file/p18884628/cache_FDN_WithJDBC.ccf > cache_FDN_WithJDBC.ccf > > We've got three cache regions we want to have the > contents in memory(for > performance) and spooled out to the database so that we can > recover in a > failover situation. Attached is the configuration file. We > are seeing the > memory cache fill up but nothing is going into the > database. > > I've set the DiskUsagePattern=update and IsSpool=True - > is there something > else I'm missing? > > > > -- > View this message in context: > http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18884628.html > Sent from the JCS - Users mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > davisadrian@example.net > For additional commands, e-mail: > davisadrian@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Mon Aug 11 23:14:52 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 97025 invoked from network); 11 Aug 2008 23:14:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Aug 2008 23:14:52 -0000 Received: (qmail 19100 invoked by uid 500); 11 Aug 2008 23:14:51 -0000 Delivered-To: davisadrian@example.net Received: (qmail 19068 invoked by uid 500); 11 Aug 2008 23:14:51 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 19057 invoked by uid 99); 11 Aug 2008 23:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 16:14:51 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO genghis.ent.nwie.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 23:13:54 +0000 Received: from oedipa01 ([83.161.120.155]) by genghis.ent.nwie.net (Switch-3.2.5/Switch-3.2.5) with ESMTP id m7BNDJT4021535 for <davisadrian@example.net>; Mon, 11 Aug 2008 19:13:20 -0400 (EDT) Received: from victor.nwie.net by oedipa01 via smtpd (for genghis.ent.nwie.net [83.161.120.155]) with ESMTP; Mon, 11 Aug 2008 19:13:20 -0400 Received: from EntDDCHub01.nwie.net (ohcollnp0076.nwie.net [83.161.120.155]) by victor.nwie.net (Switch-3.2.5/Switch-3.1.11) with ESMTP id m7BNDJMd029449 for <davisadrian@example.net>; Mon, 11 Aug 2008 19:13:19 -0400 (EDT) Subject: Val Gamerman is out of the office till 08/18/2008 From: davisadrian@example.net To: davisadrian@example.net Message-ID: <davisadrian@example.net> Date: Mon, 11 Aug 2008 19:13:18 -0400 X-MIMETrack: Serialize by Router on EntDDCHub01/SRV/NWIE(Release 8.0.1|February 07, 2008) at 08/11/2008 07:12:56 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Score: 0.00% X-Spam-Analysis: v=1.0 c=1 a=Navrrfq2WtUA:10 a=OMjBem_keN0A:10 a=PrLcHl_JVnnaWWw0E5gA:9 a=3wSbFs93h0AeZQYikbQA:7 a=JGeWKAQolnJg99uEmdAGJq_Jox4A:4 a=I2EqgwFF2xUA:10% X-Clean-RefId: str=0001.0A09020A.48A0C790.02D3,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org I will be out of the office starting 08/11/2008 and will not return until 08/18/2008. I will respond to your message when I return. I am going to be in an area with limited cel. phone reception. I will have very limited cell. phone reception or may NOT have davisadrian@example.net. For DC Migration issues contact Jeff Battisti For THI-RTR Web Service issues contact: Chena Dulla For Oracle issues please contact: THI - DBA Help For ARC questions send email to: THI - ARC (Architecture Review Committee) For Tri-C questions send email to: THI - Tri-C For ViperJ questions send email to: THI - VIPERJ Development For Web POS questions send email to: THI - Internet Quoting Developers For Web Endorsment questions send email to: THI - Web Portal Endorsement Developers For Web Portal questions send email to: THI - Web Portal Dev For AOA/ANP/-THI bridge questions contact: Brian Reese, Chenna Dulla For Agent Gateway questions contact: Chenna Dulla For Allied bridge questions contact: Chenna Dulla For Credit Score web service questions contact: Manjula Kalluri, Chenna Dulla For EZ-App/EZ-Quote/Prefill/Accelerate web service questions contact: Chenna Dulla For the Consumer Quote&Bind web service contact THI - Charging Tigers For production issues contact THI - Production Support --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Tue Aug 12 04:43:58 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 24478 invoked from network); 12 Aug 2008 04:43:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Aug 2008 04:43:58 -0000 Received: (qmail 92450 invoked by uid 500); 12 Aug 2008 04:43:57 -0000 Delivered-To: davisadrian@example.net Received: (qmail 92430 invoked by uid 500); 12 Aug 2008 04:43:57 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 92419 invoked by uid 99); 12 Aug 2008 04:43:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 21:43:57 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=MIME_BASE64_TEXT,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO l09000g0.kohls.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 04:43:00 +0000 Received: from Kscan04.kohls.com (msweep4.kohls.com [83.161.120.155]) by l09000g0.kohls.com (83.161.120.15560308/8.12.11) with ESMTP id m7C4eHjG010523 for <davisadrian@example.net>; Mon, 11 Aug 2008 23:40:17 -0500 X-ASG-Debug-ID: 1218516016-037402250001-HDrbHV X-Barracuda-URL: http://83.161.120.155:8000/cgi-bin/mark.cgi Received: from LNDC0002.cp.ad.kohls.com (unknown [83.161.120.155]) by Kscan04.kohls.com (Spam Firewall) with ESMTP id 03774CF5E10 for <davisadrian@example.net>; Mon, 11 Aug 2008 23:40:16 -0500 (CDT) Received: from LNDC0002.cp.ad.kohls.com ([83.161.120.155]) by Kscan04.kohls.com with ESMTP id 0xthwakL1IDnkvg7 for <davisadrian@example.net>; Mon, 11 Aug 2008 23:40:16 -0500 (CDT) Received: from LNCORP03.cp.ad.kohls.com ([83.161.120.155]) by LNDC0002.cp.ad.kohls.com (Lotus Domino Release 6.5.4FP3) with ESMTP id 2008081123401395-140991 ; Mon, 11 Aug 2008 23:40:13 -0500 X-ASG-Orig-Subj: Paul Lewandowski/Corp/Kohls is out of the office Subject: Paul Lewandowski/Corp/Kohls is out of the office From: davisadrian@example.net To: "JCS Users List" <davisadrian@example.net> Message-ID: <davisadrian@example.net> Date: Mon, 11 Aug 2008 23:40:14 -0500 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on LNCORP03/Kohls(Release 6.5.4FP3|January 09, 2006) at 08/11/2008 11:40:15 PM, Itemize by SMTP Server on LNDC0002/Kohls(Release 6.5.4FP3|January 09, 2006) at 08/11/2008 11:40:14 PM, Serialize by Router on LNDC0002/Kohls(Release 6.5.4FP3|January 09, 2006) at 08/11/2008 11:40:15 PM, Serialize complete at 08/11/2008 11:40:15 PM Content-transfer-encoding: base64 Content-type: text/plain; charset=US-ASCII X-Barracuda-Connect: UNKNOWN[83.161.120.155] X-Barracuda-Start-Time: 1218516017 X-Barracuda-Virus-Scanned: by davisadrian@example.net X-Barracuda-Spam-Score: -1002.00 X-Barracuda-Spam-Status: No, SCORE=-1002.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1000.0 X-Virus-Checked: Checked by ClamAV on apache.org DQpJIHdpbGwgYmUgb3V0IG9mIHRoZSBvZmZpY2Ugc3RhcnRpbmcgIDA4LzEx LzIwMDggYW5kIHdpbGwgbm90IHJldHVybiB1bnRpbA0KMDgvMTIvMjAwOC4N Cg0KSWYgeW91IG5lZWQgYW55IHRlc3RpbmcgYXNzaXN0YW5jZSBwbGVhc2Ug Y29udGFjdCBUaW5hIE5vaGUgYXQgeDc1NjcuICAgSWYNCnRoaXMgaXMgYW4g ZW1lcmdlbmN5LCBwbGVhc2UgY29udGFjdCBtZSBvbiBteSBidXNpbmVzcyBj ZWxsIHBob25lIGF0DQoyNjItOTUxLTEwMDguCgpDT05GSURFTlRJQUxJVFkg Tk9USUNFOiANClRoaXMgaXMgYSB0cmFuc21pc3Npb24gZnJvbSBLb2hsJ3Mg RGVwYXJ0bWVudCBTdG9yZXMsIEluYy4NCmFuZCBtYXkgY29udGFpbiBpbmZv cm1hdGlvbiB3aGljaCBpcyBjb25maWRlbnRpYWwgYW5kIHByb3ByaWV0YXJ5 Lg0KSWYgeW91IGFyZSBub3QgdGhlIGFkZHJlc3NlZSwgYW55IGRpc2Nsb3N1 cmUsIGNvcHlpbmcgb3IgZGlzdHJpYnV0aW9uIG9yIHVzZSBvZiB0aGUgY29u dGVudHMgb2YgdGhpcyBtZXNzYWdlIGlzIGV4cHJlc3NseSBwcm9oaWJpdGVk Lg0KSWYgeW91IGhhdmUgcmVjZWl2ZWQgdGhpcyB0cmFuc21pc3Npb24gaW4g ZXJyb3IsIHBsZWFzZSBkZXN0cm95IGl0IGFuZCBub3RpZnkgdXMgaW1tZWRp YXRlbHkgYXQgMjYyLTcwMy03MDAwLg0KDQpDQVVUSU9OOg0KSW50ZXJuZXQg YW5kIGUtbWFpbCBjb21tdW5pY2F0aW9ucyBhcmUgS29obCdzIHByb3BlcnR5 IGFuZCBLb2hsJ3MgcmVzZXJ2ZXMgdGhlIHJpZ2h0IHRvIHJldHJpZXZlIGFu ZCByZWFkIGFueSBtZXNzYWdlIGNyZWF0ZWQsIHNlbnQgYW5kIHJlY2VpdmVk LiAgS29obCdzIHJlc2VydmVzIHRoZSByaWdodCB0byBtb25pdG9yIG1lc3Nh Z2VzIGJ5IGF1dGhvcml6ZWQgS29obCdzIEFzc29jaWF0ZXMgYXQgYW55IHRp bWUNCndpdGhvdXQgYW55IGZ1cnRoZXIgY29uc2VudC4K From jcs-usersdavisadrian@example.net Tue Aug 12 07:52:59 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 20693 invoked from network); 12 Aug 2008 07:52:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Aug 2008 07:52:59 -0000 Received: (qmail 60884 invoked by uid 500); 12 Aug 2008 07:52:58 -0000 Delivered-To: davisadrian@example.net Received: (qmail 60865 invoked by uid 500); 12 Aug 2008 07:52:58 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 60854 invoked by uid 99); 12 Aug 2008 07:52:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 00:52:58 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 07:52:01 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <davisadrian@example.net>) id 1KSog8-00016j-CU for davisadrian@example.net; Tue, 12 Aug 2008 00:52:28 -0700 Message-ID: <davisadrian@example.net> Date: Tue, 12 Aug 2008 00:52:28 -0700 (PDT) From: vijudas <davisadrian@example.net> To: davisadrian@example.net Subject: Re: Problems with Remote Server Configuration (JCSAdmin) In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: davisadrian@example.net References: <davisadrian@example.net> <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Hi Aaron, Thanks a ton for your inputs. When we deployed the JCS Remote Server inside a container using RemoteCacheStartupServlet the JCSAdmin jsp shows correct count of elements in the Remote server cache.=20 But we have a slightly different requirement, where we have to run the JCS Remote Server independently outside the container, using start and stop scripts and we need to monitor this Server Cache using a WebApplication.=20 In this case, how should we configure the JCSAdmin jsp in a container to point to the Remote Server running outside the container? Thanks & Regards, Vijayalakshmi Devadoss Aaron Smuts wrote: >=20 > The admin page is working as designed. The number on the summary page > merely shows how many are in the local memory cache. >=20 > If you want to know how many are on disk, you need to go to the detail fo= r > the region and then look at the stats data. >=20 > If you want to see what the remote cache has, you need to go to the admin > page on the remote cache server. >=20 > Aaron >=20 >=20 > --- On Thu, 8/7/08, vijudas <davisadrian@example.net> wrote: >=20 >> From: vijudas <davisadrian@example.net> >> Subject: Problems with Remote Server Configuration (JCSAdmin) >> To: davisadrian@example.net >> Date: Thursday, August 7, 2008, 7:14 AM >> Hi, >>=20 >> We have currently deployed an Enterprise Application with a >> web Application >> inside, having the JCSAdmin JSP and the jcs-1.3 jar. All >> tests are being >> carried out in a single machine (meaning the remote server >> and client are >> running in the same localhost). >>=20 >> We tried connecting to the remote host in two ways: >> Method 1: Run the remote server outside the container >> (Weblogic), and >> specify the port in the client=E2=80=99s cache.ccf file.=20 >> Method 2: Run the remote server (in the same container >> where the client is >> hosted) using RemoteCacheStartupServlet. >>=20 >> In either case, we were able to put and get objects from >> the Remote Server.=20 >>=20 >> But we are currently facing following Issues with the >> JCSAdmin jsp page: >>=20 >> 1.=09The JCSAdmin jsp does not show correct count of the >> cached elements, it >> reflects only elements in the memory cache and ignores the >> ones cached in >> the remote server in case if the MaxObjects of Memory cache >> is greater than >> the total number of cached elements. =20 >>=20 >> (For Instance If the LRUMemory size is 5 and we put 100 >> elements in the >> cache for a particular region then the count shown in the >> JCSAdmin page is >> always lesser than 5.=20 >> Still we are able to retrieve the other elements cached in >> the remote server >> though they are not listed in the detail page) >>=20 >> 2.=09When there are more than one regions defined in the >> cache.ccf file the >> Admin page does not show all the regions on load. >>=20 >> Remote Server configuration: >> # Registry used to register and provide the >> # IRemoteCacheService service. >> registry.host=3Dlocalhost >> registry.port=3D4444 >> # call back port to local caches. >> #remote.cache.service.port=3D1102 >> # cluster setting >> remote.cluster.LocalClusterConsistency=3Dtrue >> remote.cluster.AllowClusterGet=3Dtrue >>=20 >> Client configuration: >>=20 >> # DEFAULT CACHE REGION >> # sets the default aux value for any non configured caches >> jcs.default=3DRC >> jcs.default.cacheattributes=3D >> org.apache.jcs.engine.CompositeCacheAttributes >> jcs.default.cacheattributes.MaxObjects=3D0 >> jcs.default.cacheattributes.MemoryCacheName=3D >> org.apache.jcs.engine.memory.lru.LRUMemoryCache >> jcs.default.elementattributes.IsEternal=3Dfalse >> jcs.default.elementattributes.MaxLifeSeconds=3D3600 >> jcs.default.elementattributes.IdleTime=3D1800 >> jcs.default.elementattributes.IsSpool=3Dtrue >> jcs.default.elementattributes.IsRemote=3Dtrue >> jcs.default.elementattributes.IsLateral=3Dtrue >>=20 >>=20 >> # Regions preconfigured for caching >> jcs.region.bookCache=3DRC >> jcs.region.bookCache.cacheattributes=3Dorg.apache.jcs.engine.CompositeCa= cheAttributes >> jcs.region.bookCache.cacheattributes.MaxObjects=3D5 >> jcs.region.bookCache.cacheattributes.MemoryCacheName=3Dorg.apache.jcs.en= gine.memory.lru.LRUMemoryCache >> jcs.region.bookCache.elementattributes.IsEternal=3Dfalse >> jcs.region.bookCache.elementattributes.MaxLifeSeconds=3D7200 >> jcs.region.bookCache.elementattributes.IdleTime=3D1800 >> jcs.region.bookCache.elementattributes.IsSpool=3Dtrue >> jcs.region.bookCache.elementattributes.IsRemote=3Dtrue >> jcs.region.bookCache.elementattributes.IsLateral=3Dtrue >>=20 >> jcs.auxiliary.RC=3Dorg.apache.jcs.auxiliary.remote.RemoteCacheFactory >> jcs.auxiliary.RC.attributes=3Dorg.apache.jcs.auxiliary.remote.RemoteCach= eAttributes >> jcs.auxiliary.RC.attributes.RemoteTypeName=3DLOCAL >> jcs.auxiliary.RC.attributes.FailoverServers=3Dlocalhost:4444 >> jcs.auxiliary.RC.attributes.RemoveUponRemotePut=3Dtrue >> jcs.auxiliary.RC.attributes.RmiSocketFactoryTimeoutMillis=3D500000 >> jcs.auxiliary.RC.attributes.GetOnly=3Dfalse >> jcs.auxiliary.RC.attributes.Receive=3Dtrue >>=20 >> Any help will be appreciated. >>=20 >> Many Thanks, >> Vijayalakshmi Devadoss >>=20 >> --=20 >> View this message in context: >> http://www.nabble.com/Problems-with-Remote-Server-Configuration-%28JCSAd= min%29-tp18871449p18871449.html >> Sent from the JCS - Users mailing list archive at >> Nabble.com. >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> davisadrian@example.net >> For additional commands, e-mail: >> davisadrian@example.net >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Problems-with-Remote-Se= rver-Configuration-%28JCSAdmin%29-tp18871449p18939568.html Sent from the JCS - Users mailing list davisadrian@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Tue Aug 12 18:02:24 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 72687 invoked from network); 12 Aug 2008 18:02:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Aug 2008 18:02:24 -0000 Received: (qmail 27448 invoked by uid 500); 12 Aug 2008 18:02:23 -0000 Delivered-To: davisadrian@example.net Received: (qmail 27422 invoked by uid 500); 12 Aug 2008 18:02:23 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 27411 invoked by uid 99); 12 Aug 2008 18:02:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 11:02:23 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 18:01:26 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <davisadrian@example.net>) id 1KSyBt-00070v-Iz for davisadrian@example.net; Tue, 12 Aug 2008 11:01:53 -0700 Message-ID: <davisadrian@example.net> Date: Tue, 12 Aug 2008 11:01:53 -0700 (PDT) From: danparker <davisadrian@example.net> To: davisadrian@example.net Subject: Re: JDBC not working as expected In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: davisadrian@example.net References: <davisadrian@example.net> <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Thanks - I discovered the DiskUsagePatternName from another post shortly after posting this one. We've corrected the typos but we are not seeing anything in the davisadrian@example.net. We also set IsLateral, IsRemote to TRUE and kept IsSpool to TRUE out of desperation. Any other suggestions? Aaron Smuts wrote: > > There is at least one typo > > . . . > > jcs.auxiliary.JDBCInteraction=org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheFactory > jcs.auxiliary.ICPC.attributes=org.apache.jcs.auxiliary.disk.jdbc.JDBCDiskCacheAttributes > > . . . > > "JDBCInteraction" should be "ICPC". > > I think that the "DiskUsagePattern" should be "DiskUsagePatternName". I > think there might be a typo in the docs. Sorry. > > Aaron > > --- On Thu, 8/7/08, danparker <davisadrian@example.net> wrote: > >> From: danparker <davisadrian@example.net> >> Subject: JDBC not working as expected >> To: davisadrian@example.net >> Date: Thursday, August 7, 2008, 8:25 PM >> http://www.nabble.com/file/p18884628/cache_FDN_WithJDBC.ccf >> cache_FDN_WithJDBC.ccf >> >> We've got three cache regions we want to have the >> contents in memory(for >> performance) and spooled out to the database so that we can >> recover in a >> failover situation. Attached is the configuration file. We >> are seeing the >> memory cache fill up but nothing is going into the >> database. >> >> I've set the DiskUsagePattern=update and IsSpool=True - >> is there something >> else I'm missing? >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18884628.html >> Sent from the JCS - Users mailing list archive at >> Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> davisadrian@example.net >> For additional commands, e-mail: >> davisadrian@example.net > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > > -- View this message in context: http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18948985.html Sent from the JCS - Users mailing list davisadrian@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Tue Aug 12 20:08:27 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 66512 invoked from network); 12 Aug 2008 20:08:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Aug 2008 20:08:27 -0000 Received: (qmail 15213 invoked by uid 500); 12 Aug 2008 20:08:26 -0000 Delivered-To: davisadrian@example.net Received: (qmail 15048 invoked by uid 500); 12 Aug 2008 20:08:26 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 15037 invoked by uid 99); 12 Aug 2008 20:08:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 13:08:26 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 20:07:29 +0000 Received: by wr-out-0506.google.com with SMTP id 37so2650360wra.17 for <davisadrian@example.net>; Tue, 12 Aug 2008 13:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8eti6ODPHcI7FQ13VaCD2uA6EDapiTQ7TVcGqYn1z1o=; b=GERVo8OGT7rGhMd0u4LCID5btoPg5jNNhRdALTKnblS3J1sldvcaVVgnIqQEgfb42W LJNSMiIFxpuXih+ITDgkfUshCCzXwwUaOHEDtOiq43zFjVEYswt32tsJCd2JSKo51kav wStwxhv+6wMZ8TGDQ2DMrLjVGP1JZfbk76fEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TnTCTwbVz1ueZInVshb1RyRqjU4CFO4D00Cdgv9OTJxmqfWdg7vdYM2Uc1ipjyUFHR NUGJXxVhQ7HBHdD9PSxZFkS4Ia7hSqwHIE7JE5B89ufixy8oYQPoZLlrlNaDMOpE2cJn EvWLJGO/y2uzeTB3mCqEGnQQ0pCpbg20Ye3jU= Received: by 83.161.120.155 with SMTP id d18mr4705075agb.109.1218571659339; Tue, 12 Aug 2008 13:07:39 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 12 Aug 2008 13:07:39 -0700 (PDT) Message-ID: <davisadrian@example.net> Date: Tue, 12 Aug 2008 16:07:39 -0400 From: "hanasaki jiji" <davisadrian@example.net> To: "JCS Users List" <davisadrian@example.net> Subject: Re: JDBC not working as expected In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org What version of JCS? Are you seeing this bug? https://issues.apache.org/jira/browse/JCS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490995 http://jakarta.apache.org/jcs/apidocs/org/apache/jcs/engine/behavior/ICompositeCacheAttributes.html *** is short not String - looks like they come from an enum or public static short .... might try testBeforeInsert=true and see if any selects are hitting the DB at all from the database logs. Let us know if you find the solution and what it is. On Thu, Aug 7, 2008 at 11:25 PM, danparker <davisadrian@example.net> wrote: > > http://www.nabble.com/file/p18884628/cache_FDN_WithJDBC.ccf > cache_FDN_WithJDBC.ccf > > We've got three cache regions we want to have the contents in memory(for > performance) and spooled out to the database so that we can recover in a > failover situation. Attached is the configuration file. We are seeing the > memory cache fill up but nothing is going into the database. > > I've set the DiskUsagePattern=update and IsSpool=True - is there something > else I'm missing? > > > > -- > View this message in context: http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18884628.html > Sent from the JCS - Users mailing list davisadrian@example.net. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Tue Aug 12 20:53:05 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 92656 invoked from network); 12 Aug 2008 20:53:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Aug 2008 20:53:05 -0000 Received: (qmail 70570 invoked by uid 500); 12 Aug 2008 20:53:04 -0000 Delivered-To: davisadrian@example.net Received: (qmail 70558 invoked by uid 500); 12 Aug 2008 20:53:04 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 70547 invoked by uid 99); 12 Aug 2008 20:53:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 13:53:04 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 20:52:07 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <davisadrian@example.net>) id 1KT0r4-0004zP-JE for davisadrian@example.net; Tue, 12 Aug 2008 13:52:34 -0700 Message-ID: <davisadrian@example.net> Date: Tue, 12 Aug 2008 13:52:34 -0700 (PDT) From: danparker <davisadrian@example.net> To: davisadrian@example.net Subject: Re: JDBC not working as expected In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: davisadrian@example.net References: <davisadrian@example.net> <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org We are using version 1.3. We've changed DiskUsagePattern to DiskUsagePatternName but it had not effect. Still nothing in the database. I'm building a workspace were I can test this independant of our load test environment. hanasakijiji wrote: > > What version of JCS? Are you seeing this bug? > https://issues.apache.org/jira/browse/JCS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490995 > http://jakarta.apache.org/jcs/apidocs/org/apache/jcs/engine/behavior/ICompositeCacheAttributes.html > *** is short not String - looks like they come from an enum or public > static short .... > > might try testBeforeInsert=true and see if any selects are hitting the > DB at all from the database logs. > > Let us know if you find the solution and what it is. > > > On Thu, Aug 7, 2008 at 11:25 PM, danparker <davisadrian@example.net> > wrote: >> >> http://www.nabble.com/file/p18884628/cache_FDN_WithJDBC.ccf >> cache_FDN_WithJDBC.ccf >> >> We've got three cache regions we want to have the contents in memory(for >> performance) and spooled out to the database so that we can recover in a >> failover situation. Attached is the configuration file. We are seeing the >> memory cache fill up but nothing is going into the database. >> >> I've set the DiskUsagePattern=update and IsSpool=True - is there >> something >> else I'm missing? >> >> >> >> -- >> View this message in context: >> http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18884628.html >> Sent from the JCS - Users mailing list davisadrian@example.net. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: davisadrian@example.net >> For additional commands, e-mail: davisadrian@example.net >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > > -- View this message in context: http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18952403.html Sent from the JCS - Users mailing list davisadrian@example.net. --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Wed Aug 13 19:31:39 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 36810 invoked from network); 13 Aug 2008 19:31:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 13 Aug 2008 19:31:36 -0000 Received: (qmail 46884 invoked by uid 500); 13 Aug 2008 19:31:35 -0000 Delivered-To: davisadrian@example.net Received: (qmail 46870 invoked by uid 500); 13 Aug 2008 19:31:34 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 46859 invoked by uid 99); 13 Aug 2008 19:31:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 12:31:34 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web38703.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 13 Aug 2008 19:30:35 +0000 Received: (qmail 83804 invoked by uid 60001); 13 Aug 2008 19:30:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=5/1ODEzQeh1wQYBrnKNmMvd2z+q6Q98/AgQ0aSIYlROjnIITcsOUgbpQ1KrQUkS91n7blAqcWhh8/FPFtwbhRy2Ard/iEL5H8aln2l3s2+QjyxV2xfzp+5I2LYjsSEuOV0Ru0qQ1YEZbJHIsXSzb5XlxIBQ0TDWETC9k4jmaolQ=; Received: from [83.161.120.155] by web38703.mail.mud.yahoo.com via HTTP; Wed, 13 Aug 2008 12:30:01 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Wed, 13 Aug 2008 12:30:01 -0700 (PDT) From: Aaron Smuts <davisadrian@example.net> Reply-To: davisadrian@example.net Subject: Re: JDBC not working as expected To: JCS Users List <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Call get stats and see if the auxiliary is in error. Look for errors and warnings in the logs. Aaron --- On Tue, 8/12/08, danparker <davisadrian@example.net> wrote: > From: danparker <davisadrian@example.net> > Subject: Re: JDBC not working as expected > To: davisadrian@example.net > Date: Tuesday, August 12, 2008, 1:52 PM > We are using version 1.3. > > We've changed DiskUsagePattern to DiskUsagePatternName > but it had not > effect. Still nothing in the database. > > I'm building a workspace were I can test this > independant of our load test > environment. > > > > hanasakijiji wrote: > > > > What version of JCS? Are you seeing this bug? > > > https://issues.apache.org/jira/browse/JCS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490995 > > > http://jakarta.apache.org/jcs/apidocs/org/apache/jcs/engine/behavior/ICompositeCacheAttributes.html > > *** is short not String - looks like they come from an > enum or public > > static short .... > > > > might try testBeforeInsert=true and see if any selects > are hitting the > > DB at all from the database logs. > > > > Let us know if you find the solution and what it is. > > > > > > On Thu, Aug 7, 2008 at 11:25 PM, danparker > <davisadrian@example.net> > > wrote: > >> > >> > http://www.nabble.com/file/p18884628/cache_FDN_WithJDBC.ccf > >> cache_FDN_WithJDBC.ccf > >> > >> We've got three cache regions we want to have > the contents in memory(for > >> performance) and spooled out to the database so > that we can recover in a > >> failover situation. Attached is the configuration > file. We are seeing the > >> memory cache fill up but nothing is going into the > database. > >> > >> I've set the DiskUsagePattern=update and > IsSpool=True - is there > >> something > >> else I'm missing? > >> > >> > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18884628.html > >> Sent from the JCS - Users mailing list archive at > Nabble.com. > >> > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: > davisadrian@example.net > >> For additional commands, e-mail: > davisadrian@example.net > >> > >> > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > davisadrian@example.net > > For additional commands, e-mail: > davisadrian@example.net > > > > > > > > -- > View this message in context: > http://www.nabble.com/JDBC-not-working-as-expected-tp18884628p18952403.html > Sent from the JCS - Users mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > davisadrian@example.net > For additional commands, e-mail: > davisadrian@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From jcs-usersdavisadrian@example.net Thu Aug 14 03:59:42 2008 Return-Path: <jcs-usersdavisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 78487 invoked from network); 14 Aug 2008 03:59:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 14 Aug 2008 03:59:42 -0000 Received: (qmail 72493 invoked by uid 500); 14 Aug 2008 03:59:40 -0000 Delivered-To: davisadrian@example.net Received: (qmail 72470 invoked by uid 500); 14 Aug 2008 03:59:40 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <jcs-users.jakarta.apache.org> Reply-To: "JCS Users List" <davisadrian@example.net> Delivered-To: mailing list davisadrian@example.net Received: (qmail 72459 invoked by uid 99); 14 Aug 2008 03:59:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 20:59:40 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 03:58:43 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <davisadrian@example.net>) id 1KTTwQ-0003EZ-5N for davisadrian@example.net; Wed, 13 Aug 2008 20:56:02 -0700 Message-ID: <davisadrian@example.net> Date: Wed, 13 Aug 2008 20:56:02 -0700 (PDT) From: danparker <davisadrian@example.net> To: davisadrian@example.net Subject: Re: JDBC not working as expected In-Reply-To: <davisadrian@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: davisadrian@example.net References: <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Aaron The stats are showing that the JDBC cache is working - this is with diskusagepatternname=swap. Although I never saw anything go into the database only purgatory. Detail for region [InteractionControllerProcessCache] All Regions Key Eternal? Create time Max Life (s) Till Expiration (s) [GAN: groupId=[groupId=InteractionControllerProcessCache, InteractionControllerProcessCache], attrName=-1252094005] false 8/13/08 11:16 PM 28800 28798 View | Remove [GAN: groupId=[groupId=InteractionControllerProcessCache, InteractionControllerProcessCache], attrName=generic_PG-1252094005] false 8/13/08 11:16 PM 28800 28798 View | Remove Stats for region [InteractionControllerProcessCache] Region Name = InteractionControllerProcessCache HitCountRam = 20 HitCountAux = 0 ---------------------------LRU Memory Cache List Size = 2 Map Size = 2 Put Count = 13 Hit Count = 20 Miss Count = 19 ---------------------------JDBC/Abstract Disk Cache Update Count = 1 Get Count = 19 Size = 0 Active DB Connections = 0 Idle DB Connections = 2 DB URL = jdbc:oracle:thin:@ncddb-lod1613.nam.nsroot.net:1526:CHRDANT1 Purgatory Hits = 0 Purgatory Size = 1 Working = true Alive = true Empty = true When I set it to UPDATE nothing makes it into the JDBC cache, shouldn't every put get added to memory and the JDBC cache, that's the behaviour we are after. I set the MaxObjects for the memory cache to 4 and the diskUsuagePattern to UPDATE and these are the stats Detail for region [InteractionControllerProcessCache] All
{'source': 'Apache Software Foundation Public Mail Archives'}