Posted on 2007-03-06 09:58
rednight 阅读(2483)
评论(2) 编辑 收藏
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.