aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 2046
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: 2046
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 MDB calling an Entity bean
What to do when JDBC driver does not support transcations
Problem with Last Participant Support in WebSphere 5.1?
An illegal attempt to commit a one phase capable resource with existing two phase capable resources
Accessing Entity from MDB