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 Spring in Action this week in the Spring 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: 2057
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: 2057
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)