Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

error on commit(related to 2 phase 1 phase)

 
Jesus Angeles
Ranch Hand
Posts: 2069
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, anyone have idea on this error

"An illegal attempt to commit a one phase capable resource with existing two phase capable resources has occurred"

[I have a bean-managed transaction on a session bean.

This error results from the ut.commit() statement. It could be on my setup on wsad/resources/db2, but havent figured out yet.]
 
Jesus Angeles
Ranch Hand
Posts: 2069
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
solved it. had to use jta xa drivers.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!