jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NATHAN,SENTHIL (HP-India,ex2)" <senthilnathan.murugai...@hp.com>
Subject RE: Where to place the cache.ccf file?
Date Wed, 04 Dec 2002 13:51:04 GMT
Actually the error was thrown by the class OptionConverter. But that is
not the reason for the problem. I did a copy-paste of configuration for LTCP
cache from the JCS site. That had a reference to a class with old package
name. I corrected it and now it is working fine. Sorry for the
inconvenience. 

Thanks
Senthil

-----Original Message-----
From: James Taylor [mailto:jtaylor@4lane.com]
Sent: Wednesday, December 04, 2002 7:09 PM
To: Turbine JCS Users List
Subject: RE: Where to place the cache.ccf file?


That is _very_ odd. There should be no references to stratum in there.
Can you reference a particular file that is problematic?

On Wed, 2002-12-04 at 08:33, NATHAN,SENTHIL (HP-India,ex2) wrote:
> Hi James
> 
> 	Yes that is working. But now I am seeing ClassNotFoundException.
> There are many missing classes . One among them is - 
> org.apache.stratum.jcs.engine.CompositeCacheAttributes
> 
> 	The problem is because of the old package name in some source files
> ( see the stratum ). Whether any updated package is available or should I
> correct the package name in those source files?
> 
> Thanks
> Senthil
> 
> 
> 
> 
> 
> -----Original Message-----
> From: James Taylor [mailto:jtaylor@4lane.com]
> Sent: Wednesday, December 04, 2002 6:44 PM
> To: Turbine JCS Users List
> Subject: Re: Where to place the cache.ccf file?
> 
> 
> In the root of the classpath. 
> 
> (You can actually put it anywhere and use one of the alternate config
> mechanisms in CCM [I think] but it will look for /cache.ccf in the
> classpath be default)
> 
> On Wed, 2002-12-04 at 08:13, NATHAN,SENTHIL (HP-India,ex2) wrote:
> > Hello
> > 
> > 	Where should I place the cache configuration file cache.ccf? 
> > 
> > regards
> > Senthil
> > 
> > -----Original Message-----
> > From: James Taylor [mailto:jtaylor@4lane.com]
> > Sent: Monday, November 04, 2002 11:32 PM
> > To: Turbine JCS Users List
> > Subject: Re: when is the compositecache object released from
> > CacheManager?
> > 
> > 
> > You are correct ... I would think freeCache should remove it from the
> > table. Anybody know a reason why that should not happen?
> > 
> > On Mon, 2002-11-04 at 12:49, Sunil Pandit wrote:
> > > 
> > > Though I am able to call freecache on compositecachemanager which
calls
> > > dispose on compositecache , it does not remove this cache from the
> > hashmap.
> > > Shouldn't after successful dispose this  composistecache instance
should
> > be
> > > removed from the hashtable . This can be done in freecache call in
> > > CompositeCachemanager. Am I missing something ?
> > > 
> > > Thanks
> > > Sunil
> > > 
> > > 
> > >
> > 
> > >                     James Taylor
> > 
> > >                     <jtaylor             To:     Turbine JCS Users
List
> > <turbine-jcs-user@jakarta.apache.org>      
> > >                     @4lane.com>          cc:
> > 
> > >                                          Subject:     Re: when is the
> > compositecache object released  from        
> > >                     11/04/2002           CacheManager?
> > 
> > >                     10:49 AM
> > 
> > >                     Please
> > 
> > >                     respond to
> > 
> > >                     "Turbine JCS
> > 
> > >                     Users List"
> > 
> > >
> > 
> > >
> > 
> > > 
> > > 
> > > 
> > > 
> > > If you are using the CacheAccess (singleton) model, you should be able
> > > to get it with:
> > > 
> > > CompositeCacheManager.getInstance();
> > > 
> > > Since there is only one per JVM
> > > 
> > > On Mon, 2002-11-04 at 11:43, Sunil Pandit wrote:
> > > >
> > > > Thanks James for quick response . That leads me to next question how
> do
> > I
> > > > get the cachemanager .? Its a private attribute on CacheAccess
> > > > ,GroupCacheAccess and JCS and I don't see any method that gives me
> > access
> > > > to CacheManager .
> > > 
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   <
> > > mailto:turbine-jcs-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <
> > > mailto:turbine-jcs-user-help@jakarta.apache.org>
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:turbine-jcs-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:turbine-jcs-user-help@jakarta.apache.org>
> > > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:
> > <mailto:turbine-jcs-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:turbine-jcs-user-help@jakarta.apache.org>
> > 
> > --
> > To unsubscribe, e-mail:
> <mailto:turbine-jcs-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:turbine-jcs-user-help@jakarta.apache.org>
> > 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:turbine-jcs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:turbine-jcs-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:
<mailto:turbine-jcs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:turbine-jcs-user-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:
<mailto:turbine-jcs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:turbine-jcs-user-help@jakarta.apache.org>

Mime
View raw message