簡單-高效-優雅

          WebLogic JTA Error

          如果兩個不同domain下的WebLogic Server同名,在進行事務傳播的時候會出現以下問題:
          @Transactional(readOnly = false, propagation = Propagation.REQUIRED)

          When the transaction attibutes are Required on both sides,
          I get the following error

          javax.transaction.TransactionRolledbackException: Current server is the coordinator and transaction is not found. It was probably rolled back and forgotten already.
          at weblogic.rjvm.ResponseImpl.unmarshalReturn(Respons eImpl.java:
          195)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(C lusterableRemoteRef.java:
          338)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(C lusterableRemoteRef.java:
          252)

          修改為不同Server名,則運行正常。
          具體原因,查找中。。。

          ====================
          具體原因已經查明,參見了WebLogic的官方文檔《Programming WebLogic JTA Release 10.0》第35頁,關于跨Domain JTA事務的局限描述:
          The domains and all participating resources must have unique names. That is, you cannot 
          have a JDBC data source, a server, or a domain with the same name as an object in another 
          domain or the domain itself.


          posted on 2008-09-09 08:43 BigOnion 閱讀(860) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 上高县| 乡城县| 时尚| 醴陵市| 阳东县| 微博| 长沙市| 阜阳市| 新平| 平泉县| 镇远县| 北辰区| 根河市| 招远市| 大冶市| 安远县| 孝感市| 东兰县| 探索| 清原| 罗甸县| 监利县| 蚌埠市| 海安县| 志丹县| 仁寿县| 林州市| 军事| 广水市| 彰化县| 永兴县| 平定县| 临清市| 合肥市| 博罗县| 客服| 望奎县| 阳谷县| 夹江县| 崇左市| 渝北区|