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.
|