These settings are no longer needed:
Code:
<entry key="hibernate.transaction.factory_class" value="org.hibernate.ejb.transaction.JoinableCMTTransactionFactory" />
<entry key="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup" />
since you have:
Code:
<entry key="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.WeblogicJtaPlatform" />
You might want to remove this property too since it's not probably going to buy you anything:
Code:
<entry key="hibernate.bytecode.use_reflection_optimizer" value="true" />
If you use Spring, you don't need this setting too:
Code:
<entry key="hibernate.current_session_context_class" value="org.hibernate.context.JTASessionContext" />
I see that you already set the DataSource is Spring:
Code:
<property name="dataSource" ref="dataSourceXA" />
Make sure that the JNDI Context is available and you have access to the
Weblogic TransactionManager which is located via JNDI.
Maybe the default naming used by Weblogic TransactionManager don't work for you and you need to supply the "userTransaction"/"userTransactionName" and "transactionManager"/"transactionManagerName" as well. Check the
Weblogic TransactionManager documentation for that.