File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
wood burning stoves
 
subject: error on commit(related to 2 phase 1 phase)
 
Similar Threads
An MDB calling an Entity bean
Problem with Last Participant Support in WebSphere 5.1?
Accessing Entity from MDB
An illegal attempt to commit a one phase capable resource with existing two phase capable resources
What to do when JDBC driver does not support transcations