2 Replies Latest reply on Mar 30, 2007 6:21 AM by wjm

    CacheException in JBPM

    antonypulicken

      We are using JBPM in our project and we are getting the following errors in our QA environment. Can any one let us know the reason? Appreciate if you can give some inputs at the earliest.

      2007-03-26 07:18:36,284 [TP-Processor8] ERROR [ehcache.store.DiskStore] - org.jbpm.graph.def.NodeCache: Could not read disk store element for key org.jbpm.graph.def.Node#130
      net.sf.ehcache.CacheException: org.jbpm.graph.def.Node Cache: The Disk store is not active.
      at net.sf.ehcache.store.DiskStore.checkActive(DiskStore.java:207)
      at net.sf.ehcache.store.DiskStore.get(DiskStore.java:239)
      at net.sf.ehcache.Cache.searchInDiskStore(Cache.java:545)
      at net.sf.ehcache.Cache.get(Cache.java:361)
      at org.hibernate.cache.EhCache.get(EhCache.java:110)
      at org.hibernate.cache.NonstrictReadWriteCache.get(NonstrictReadWriteCache.java:41)
      at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:452)
      at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328)
      at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
      at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
      at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
      at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:849)
      at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)

        • 1. Re: CacheException in JBPM
          kukeltje

          Sounds like a hibernate config issue. Did you customize that? Besides that, I think you have more change on a constructive answer in the hibernate forum.

          • 2. Re: CacheException in JBPM
            wjm

            Looks like somebody enabled ehcache in hibernate.cfg.xml without the necessary setup. Try changing to the following in your hibernate.cfg.xml

            <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
            
            


            and see if it helps. Note that hashtablecache is not recommended for production configurations.