簡單-高效-優雅

          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 閱讀(861) 評論(0)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 海安县| 武川县| 抚远县| 建宁县| 静乐县| 洪雅县| 新干县| 金阳县| 巴林左旗| 金堂县| 苏尼特右旗| 临漳县| 长岭县| 运城市| 延吉市| 和顺县| 米泉市| 万全县| 新宾| 茶陵县| 宁海县| 连云港市| 西乌| 崇义县| 顺平县| 利川市| 新余市| 韩城市| 白山市| 锦屏县| 普兰店市| 双牌县| 皮山县| 涞源县| 南平市| 阆中市| 晋宁县| 井研县| 桃园市| 永登县| 普兰县|