-->
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: SessionFactory not clusterable
PostPosted: Fri Mar 23, 2007 2:33 pm 
Newbie

Joined: Tue Feb 07, 2006 1:32 pm
Posts: 7
Location: Toronto, Ontario
Our application uses hibernate which uses Weblogic DataSources to connect to the database.
We use hibernate version 3.0 and everything works fine except that I noticed the following errors in the Weblogic log:

<Mar 23, 2007 9:09:27 AM EDT> <Error> <Cluster> <BEA-000123> <Conflict start: You tried to bind an object under the name audit in the JNDI tree. The object from 2032113579314603206S:twpc-ar-app2:[8001,8001,-1,-1,8001,-1,-1,0,0]:bipdomain:bipsrv02 is non-clusterable, and you have tried to bind more than once from two or more servers. Such objects can only be deployed from one server.>

The "audit" above is basically the name of the sessionFactory in one of our hibernate.cfg.xml file.
Basically my understanding is that the SessionFactory object is not clusterable. I couldn't find anything like this in the hibernate documentation.
There is something on the web about setting a property in the cfg.xml file like:
<property name="hibernate.jndi.weblogic.jndi.replicateBindings">false</property>
but I still don't understand the issue completely.
Can anybody throw some light into this issue?
Thank you.


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.