-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate 4.1 with EhCache 2.5
PostPosted: Mon Jan 21, 2013 10:26 am 
Newbie

Joined: Fri Jan 18, 2013 4:45 am
Posts: 5
I am trying to configure Hibernate 4.1.9 with EhCache 2.5.2.
It was working fine as long as i used net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory
But i have multiple session factories in my application.
So i shifted to using net.sf.ehcache.hibernate.EhCacheRegionFactory
Now i get the exception
Another unnamed CacheManager already exists in the same VM.

I had solved this issue on hibernate 3.5.2 by setting different names
in net.sf.ehcache.cacheManagerName property for each instance of EhCache
Same thing doesnt work on hibernate 4.1.9

Has anyone tried this combination ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.