数据源配置成Tx Data Sources,并且把两段提交(Emulate Two-Phase Commit for non-XA Driver)打勾

解决方案 »

  1.   

    兄弟!不行呀,我用的是oracle的tx data source,现设两段提交时,weblogic启动时提示:
    <2004-10-30 下午14时15分02秒 CST> <Warning> <JDBC> <BEA-001064> <Ignoring proper
    ty 'enableTwoPhaseCommit' for JDBCTxDataSource "myds". This property is used onl
    y for those drivers that do not natively support XA.>就是用了dx data source就没必要选二段提交了吧测试结果和原来一样失败
      

  2.   

    那你用BMT事务处理机制试试。
      

  3.   

    ???什么是BMT事务处理机制?????????
      

  4.   

    为什么CMP里面没有相应的处理机制,不可能吧?!
    这个问题应该不算难吧,有过EJB实际经验的兄弟都应该知道,为什么没人回我呢?