Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic