Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Could not instantiate cache implementation

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic