Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not instantiate cache implementation

 
Raghusham Sankargal
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Colleagues,
I am trying to use Hibernate to insert a record on the Database. I am getting the error
Could not instantiate cache implementation

I could not figure it out why. Would anyone help me in this? Below is the hibernate.cfg.xml

 
Stanislav Burnashev
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the same problem too.
I try run Apache Roller 3.1 on SAP WebAs 7.
My hibernate config:


Also, i have message in roller log:

Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.ObjectExistsException: Cache org.apache.roller.pojos.BookmarkData already exists
at org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:105)
at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
... 13 more
Caused by: net.sf.ehcache.ObjectExistsException: Cache org.apache.roller.pojos.BookmarkData already exists
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:421)
at org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:98)
... 14 more
[ November 28, 2008: Message edited by: Stanislav Burnashev ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic