-->
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: multiple hibernate session factories with tree cache
PostPosted: Tue Sep 26, 2006 9:09 am 
Newbie

Joined: Sun Sep 11, 2005 7:46 pm
Posts: 15
Dear folks,

I have 3 hibernate session factories using different data sources configured, and using a static init block in the HibernateUtil.java class to initialize the three session factories. All of the three session factories want to use tree cache but only the first session factory can properly register the tree cache. There was always this error when 2nd session factory was initializing: tree cache already registered.

I'd be obliged to anyone who could help me get out of this trouble.

Hibernate version: 3.2 cr4

JBoss version: 4.0.4 ga + NetBeans 5.5 bundle



Best Regards,
ellen


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.