-->
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.  [ 2 posts ] 
Author Message
 Post subject: WeblogicTransactionManagerLookup
PostPosted: Thu Jan 11, 2007 1:49 pm 
Newbie

Joined: Thu Jan 11, 2007 1:44 pm
Posts: 3
I am having an issue with TransactionManagerLookupFactory. It seems to always instantiate net.sf.hibernate.transaction.JBossTransactionManagerLookup even though my hibernate.cfg.xml file contains net.sf.hibernate.transaction.WeblogicTransactionManagerLookup

Below is a snippet of my configuration file:

<hibernate-configuration>
<session-factory>
<property name="connection.datasource">DefaultDS</property>
<property name="transaction.factory_class">net.sf.hibernate.transaction.JTATransactionFactory</property>
<property name="transaction.manager_lookup_class">net.sf.hibernate.transaction.WeblogicTransactionManagerLookup</property>
<property name="dialect">net.sf.hibernate.dialect.MySQLDialect</property>
...
</session-factory>
</hibernate-configuration>

Any ideas on why it won't instantiate WeblogicTransactionManagerLookup, but instantiates JBossTransactionManagerLookup instead?

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 3:09 pm 
Newbie

Joined: Thu Jan 11, 2007 1:44 pm
Posts: 3
Figured it out. The hibernate.cfg.xml wasn't being read from the EAR file, but rather the weblogic domain root directory. I forgot that I had put that file there and changed it from JBoss to WebLogic. Now it works fine.


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

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.