You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Stefan Guggisberg <st...@gmail.com> on 2007/03/01 10:56:16 UTC

Re: CacheManager Configuration

On 2/28/07, Brian Thompson <el...@gmail.com> wrote:
> In my application, I only started seeing the CacheManager warnings that I
> mentioned after I added Jackrabbit support.  Also, the Cachemanager emits
> its warnings immediately after the Jackrabbit repository starts up; I
> assumed that the timing was not coincidental.
>
> However, when I disable the JCR support, I still get that warning.  I guess
> I should have tried that before coming here to complain about Jackrabbit
> caching ;)

no problem at all. there's a class named CacheManager in jackrabbit core.
its log messages might obviously be mixed up with those emitted by
ehcache's CacheManager.

cheers
stefan


>
> Thanks!
>
> -Brian
>
>
>
> On 2/28/07, Stefan Guggisberg <st...@gmail.com> wrote:
> >
> > hi brian,
> >
> > On 2/27/07, Brian Thompson <el...@gmail.com> wrote:
> > > Hello,
> > >
> > > In my project, I'm using both Jackrabbit and Hibernate for different
> > > purposes, both of which use ehcache.  When my project starts up, I get a
> >
> > jackrabbit doesn't use ehcache, at least i am not aware off ;-)
> > what leads you to believe that jackrabbit uses ehcache?
> >
> > cheers
> > stefan
> >
> > > warning:
> > >
> > > [APP] INFO [main] RepositoryImpl.<init>(329) | Repository started
> > > [APP] WARN [main] CacheManager.detectAndFixDiskStorePathConflict(271) |
> > > Creating a new instance of CacheManager using the diskStorePath
> > "C:\Program
> > > Files\apache-tomcat-5.5.20\temp" which is already used by an existing
> > > CacheManager.
> > > The source of the configuration was classpath.
> > > The diskStore path for this CacheManager will be set to C:\Program
> > > Files\apache-tomcat-5.5.20\temp\ehcache_auto_created_1172597783217.
> > > To avoid this warning consider using the CacheManager factory methods to
> > > create a singleton CacheManager or specifying a separate ehcache
> > > configuration (ehcache.xml) for each CacheManager instance.
> > >
> > > I'd like to configure both tools to use the same CacheManager, but I
> > can't
> > > seem to find any information on configuring the CacheManager for
> > > Jackrabbit.  Has anyone dealt with this type of cacheManager collision
> > > before?
> > >
> > > Thanks,
> > >
> > > -Brian
> > >
> >
>