Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 36543 invoked from network); 31 Aug 2005 19:38:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 19:38:34 -0000 Received: (qmail 39562 invoked by uid 500); 31 Aug 2005 19:38:33 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 39546 invoked by uid 500); 31 Aug 2005 19:38:33 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 39533 invoked by uid 99); 31 Aug 2005 19:38:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 12:38:33 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Aaron.Smuts@travelocity.com designates 151.193.220.19 as permitted sender) Received: from [151.193.220.19] (HELO sgtulmg02-out.sabre.com) (151.193.220.19) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 12:38:47 -0700 Received: from unknown (HELO sghdqbh02.Global.ad.sabre.com) ([10.12.64.4]) by sgtulmg02-out.sabre.com with ESMTP; 31 Aug 2005 14:38:31 -0500 X-ExtLoop1: From 10.12.64.4 X-IronPort-AV: i="3.96,158,1122872400"; d="scan'208"; a="567152947:sNHT48057790" Received: from sgtulmsp04.Global.ad.sabre.com ([10.12.64.107]) by sghdqbh02.Global.ad.sabre.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 31 Aug 2005 14:38:31 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: cache.ccf resolution via classpath? Date: Wed, 31 Aug 2005 14:38:27 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cache.ccf resolution via classpath? Thread-Index: AcWuWO5uZrkZIsmJTqqNH8BGbDA6UwAAFDywAAJ7gUA= From: "Smuts, Aaron" To: "JCS Users List" X-OriginalArrivalTime: 31 Aug 2005 19:38:31.0065 (UTC) FILETIME=[912E4090:01C5AE63] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The jisp disk cache is not production ready. Jisp has all sorts of issues. I may drop it altogether rather than trying to get it work. =20 By default the maven build will check the remote repository. There is s 2.5.1 there. See: http://www.ibiblio.org/maven/jisp/jars/ Are you trying to build with ant? If so, stop and just use maven. =20 Aaron > -----Original Message----- > From: Tim Cronin [mailto:tcronin@interwoven.com] > Sent: Wednesday, August 31, 2005 2:27 PM > To: JCS Users List > Subject: RE: cache.ccf resolution via classpath? >=20 >=20 > Thanks, yes it would be nice if you could configure the exact path. >=20 > I'm trying to build jcs now. >=20 > Do you have a copy of jisp 2.5 all that's on the site is 3.0 and > It's incompatible (lot's of errors). >=20 >=20 >=20 > -----Original Message----- > From: Mitch Gorman [mailto:gorman@sportsline.com] > Sent: Wednesday, August 31, 2005 1:22 PM > To: JCS Users List > Subject: Re: cache.ccf resolution via classpath? >=20 > Tim Cronin wrote: >=20 > > It's still the same. > > > > I got the latest code from the svn repos and CompositeCacheManager > > Hasn't changed. > > > > InputStream is =3D getClass().getResourceAsStream( propFile ); > > >=20 > personally, i got a little frustrated with that mechanism. our SAs > are rather anal about enforcing standardized application deployment > locations, which means i needed to be able to specify on the commandline >=20 > to my app exactly where the various config files it needs will be > residing. >=20 > therefore, i kluged CompositeCacheManager.java (1.2.6.5, not that it >=20 > matters, probably) like so: >=20 >=20 >=20 > public void configure( String propFile ) > { > log.debug( "Creating cache manager from config file: " + > propFile ); >=20 > Properties props =3D new Properties(); >=20 > InputStream is =3D getClass().getResourceAsStream( propFile ); > try { > if (is =3D=3D null) > is =3D new FileInputStream(new File(propFile)); > } catch (FileNotFoundException fe) { > if (log.isErrorEnabled()) { > log.error("Cannot locate properties file " + propFile); > } > } > try > { > props.load( is ); > etc., etc., etc. >=20 > now, i pass it in to my via commons-cli, call > JCS.setConfigFilename(), and everything's hunky-dory; no more worrying > about making sure it's in the right location in the classpath. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jcs-users-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org