This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes error on commit(related to 2 phase 1 phase) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "error on commit(related to 2 phase 1 phase)" Watch "error on commit(related to 2 phase 1 phase)" New topic
Author

error on commit(related to 2 phase 1 phase)

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2049
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

Joined: Feb 26, 2005
Posts: 2049
solved it. had to use jta xa drivers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error on commit(related to 2 phase 1 phase)
 
Similar Threads
An illegal attempt to commit a one phase capable resource with existing two phase capable resources
Problem with Last Participant Support in WebSphere 5.1?
Accessing Entity from MDB
What to do when JDBC driver does not support transcations
An MDB calling an Entity bean