• Post Reply Bookmark Topic Watch Topic
  • New Topic

02049: timeout: distributed transaction waiting for lock  RSS feed

 
rangababu chakravarthula
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
App server: WebSphere 6
Datasource: XA datasource

We recently migrated from Weblogic to WebSphere and here is the problem we are getting now

We have a Container managed entity bean and a Stateless session bean. From the session bean we are doing a findByPrimarykey on the entity bean using the localhome.
We are getting
ORA-02049: timeout: distributed transaction waiting for lock
everytime it does a findByPrimarykey

any ideas?
 
Vinay Raj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the locking policy set for the entity bean. For details regarding the locking policies available in WAS refer url.
 
Vinay Raj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What database are you using?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!