was7.0 下面的错误WTRN0063E: An illegal attempt to commit a one phase capable resource with existing two phase
来源:互联网 发布:家里wifi网络拒绝接入 编辑:程序博客网 时间:2024/05/07 18:15
was7.0报的错误,内容如下:
WTRN0063E: An illegal attempt to commit a one phase capable resource with existing two phase capable resources has occurred.
WTRN0086I: XAException encountered during prepare phase for transaction 0000011A0AE7CD2600000001000075146FDBF30CF4C7045A6DBA14C29B2DCF6E243ECC610000011A0AE7CD2600000001000075146FDBF30CF4C7045A6DBA14C29B2DCF6E243ECC6100000001. Local resources follow.
WTRN0089I: XATransactionWrapper@ 207b9bf7 XAResource: com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl@207a9bf7 enlisted: true mcWrapper.hashCode()537353207: Vote: commit.
WTRN0089I: LocalTransactionWrapper@:85bdb8c localTransaction:com.ibm.ws.rsadapter.spi.WSRdbSpiLocalTransactionImpl@625b1b81 enlisted:true registeredForSynctruemcWrapper.hashcode()139582348: Vote: none.
使用的是xa的jdbc数据源,原因是在一个事务方法里调用了另一个service的事务方法,
解决办法是,在调用新的方法的上面声明@TransactionAttribute(value=TransactionAttributeType.REQUIRES_NEW),
打开一个新的事务,就不会报错了。
希望对您有帮助。
- was7.0 下面的错误WTRN0063E: An illegal attempt to commit a one phase capable resource with existing two phase
- two phase commit
- postgresql Two-phase commit
- two-phase commit
- Two-phase commit
- Hibernate 错误:Illegal attempt to associate a collection with two open sessions
- 错误:Illegal attempt to associate a collection with two open sessions
- Illegal attempt to associate a collection with two open session
- Illegal attempt to associate a collection with two open sessions
- Illegal attempt to associate a collection with two open sessions;
- Illegal attempt to associate a collection with two open sessions
- Illegal attempt to associate a collection with two open sessions.
- OpenSessionInViewFilter的两个异常:Illegal attempt to associate a collection with two open sessions
- 分布式事物-2PC(Two-Phase Commit)
- Hibernate 异常: Illegal attempt to associate a collection with two open sessions
- SSH架构中Illegal attempt to associate a collection with two open sessions 问题
- net.sf.hibernate.HibernateException: Illegal attempt to associate a collection with two open session
- Illegal attempt to associate a collection with two open session问题
- SSH架构简单总结
- Shell脚本调试技术
- p、*p和&p
- 文科和理科的区别(What is the difference between science and engineering)?
- Struts2.1.6+Spring2.5.6+Hibernate3.3.1全注解实例详解(四)
- was7.0 下面的错误WTRN0063E: An illegal attempt to commit a one phase capable resource with existing two phase
- pku1811 pku2429 (大素数判断,整数分解)
- Struts2.1.6+Spring2.5.6+Hibernate3.3.1全注解实例详解(五)
- Hibernate 学习的书-夏昕(2)
- 转:MultiByteToWideChar和WideCharToMultiByte用法详解
- Java中Native关键字的作用(转)
- 用Google App Engine做个人代理服务器
- How To Use An Embedded Resource From A Sub-Folder
- Oracle 中时间的计算