jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: CacheManager Configuration
Date Thu, 01 Mar 2007 09:56:16 GMT
On 2/28/07, Brian Thompson <elephantium@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 <stefan.guggisberg@gmail.com> wrote:
> >
> > hi brian,
> >
> > On 2/27/07, Brian Thompson <elephantium@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
> > >
> >
>

Mime
View raw message