aspose file tools*
The moose likes Object Relational Mapping and the fly likes Could not instantiate cache implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Could not instantiate cache implementation" Watch "Could not instantiate cache implementation" New topic
Author

Could not instantiate cache implementation

Raghusham Sankargal
Ranch Hand

Joined: Oct 10, 2005
Posts: 59
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



Raghusham Sankargal
Stanislav Burnashev
Greenhorn

Joined: Nov 28, 2008
Posts: 1
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not instantiate cache implementation