Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 77654 invoked from network); 4 Mar 2004 21:10:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Mar 2004 21:10:30 -0000 Received: (qmail 75628 invoked by uid 500); 4 Mar 2004 21:10:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 75368 invoked by uid 500); 4 Mar 2004 21:10:15 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 75352 invoked from network); 4 Mar 2004 21:10:15 -0000 Received: from unknown (HELO naomi.webworks.nl) (24.132.161.79) by daedalus.apache.org with SMTP; 4 Mar 2004 21:10:15 -0000 Received: from hippo.nl ([10.10.20.110]) by naomi.webworks.nl with Microsoft SMTPSVC(5.0.2195.6713); Thu, 4 Mar 2004 22:10:19 +0100 Message-ID: <40479B4C.5000004@hippo.nl> Date: Thu, 04 Mar 2004 22:10:36 +0100 From: Unico Hommes Organization: Hippo User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [JCS] Test drive References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Mar 2004 21:10:20.0060 (UTC) FILETIME=[19AA6DC0:01C4022D] 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 Corin Moss wrote: > Hiya, > > Someone may have gotten to this first - it means that the properties > file for the JCS config isn't in your classpath. > I thought I tried that. Must be because I running from within Eclipse. It does not make much sense to me though. Why first do JCS.setConfigFilename() with the exact path location and then also requiring it to be on the classpath later on? I see why Carsten changed it to be directly under WEB-INF. When running in developement mode under the eclipse classpath WEB-INF/classes is not in scope for the classloader. Unico > It's always the little things :) > > -----Original Message----- > From: Unico Hommes [mailto:unico@hippo.nl] > > Sent: Friday, 5 March 2004 2:06 a.m. > To: dev@cocoon.apache.org > Subject: Re: [JCS] Test drive > > > > > Antonio Gallardo wrote: > > >>Hi: >> > > >>How to test drive the current JCS store implementation? >> > > > > Hmm, I can't seem to get past this NPE: > > Caused by: java.lang.NullPointerException > at java.io.Reader.(Unknown Source) > at java.io.InputStreamReader.(Unknown Source) > at java.util.Properties.load(Unknown Source) > at > > org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeC > acheManager.java:203) > at org.apache.jcs.JCS.ensureCacheManager(JCS.java:141) > at org.apache.jcs.JCS.getInstance(JCS.java:101) > at > > org.apache.cocoon.components.store.AbstractJCSStore.setup(AbstractJCSSto > re.java:118) > > I verified that the config file it tries to load from exists. > > Suggestions? > > Unico > > ================================================================ > 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 > ================================================================