rednight

0x2B|~0x2B,That's not a question,Just do it.
posts - 32, comments - 14, trackbacks - 0, articles - 0

If you encountered “ Cannot call Connection.commit in distributed transaction ” error, should check the weblogic connection pool and the datasource

 

If the connection pool is XA,

you should make sure that when you create the datasource to make it XA by select the check from "Honor Global Transaction" from the weblogic console.(default is selected)

If the connection pool is non-XA

you should make sure that when you create the datasource to make it non-XA by remove the check from "Honor Global Transaction" from the weblogic console.

Feedback

# re: Cannot call Connection.commit in distributed transaction  回复  更多评论   

2009-01-15 17:14 by 成亟亟
thanks alot!

# re: Cannot call Connection.commit in distributed transaction  回复  更多评论   

2010-07-30 16:19 by qx
Great!

只有注册用户登录后才能发表评论。


网站导航: