• Post Reply Bookmark Topic Watch Topic
  • New Topic

WebSphere 8 - Unable to locate current JTA transaction

 
sivalingam balachandar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I was told like, our application should use JTA ( <property name="current_session_context_class">jta</property> )

instead of thread(<property name="current_session_context_class">thread</property> )


Initially(before JTA) the configuration is,

When we have the above configuraion our application is working fine.
-------

But when i changed to below configuration, it started to raise exception
(nested exception is org.hibernate.HibernateException: Unable to locate current JTA transaction)

I am using websphere 8.

I tried with by creating datasource in Server. That is also not working.
<property name="connection.datasource">jdbc:/tbisds</property>


Please let me know how to resolve this issue.

HibernateSessionFactory.java




Thanks,
balachandar
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!