JBoss のスタンドアロンおよびドメインモードで node-identifier を設定する
Issue
- 2 つのインスタンスがオブジェクトストアを共有しており、固有の
node-identifierがありません。 - 2 つのインスタンスが同じリソースマネージャーを使用しており、固有の
node-identifierがありません。 - 同じデータベースを指定するスタンドアロンインスタンスが複数あります。
server.logで、以下のように出力されます。
WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016038:No XAResource to recover < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=<tx-id>, node_name=1, branch_uid=<branch-id>, subordinatenodename=null, eis_name=unknown eis name >
WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037:Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord < resource:null, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=<tx-id>, node_name=1, branch_uid=<branch-id>, subordinatenodename=null, eis_name=unknown eis name >, heuristic:TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@4bfdb2a2 >
WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016038:No XAResource to recover < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=<tx-id>, node_name=1, branch_uid=<branch-id>, subordinatenodename=null, eis_name=unknown eis name >
WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037:Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord < resource:null, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=<tx-id>, node_name=1, branch_uid=<branch-id>, subordinatenodename=null, eis_name=unknown eis name >, heuristic:TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@6f8a52ea >
WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016038:No XAResource to recover < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=<tx-id>, node_name=1, branch_uid=<branch-id>, subordinatenodename=null, eis_name=unknown eis name >
- JBoss サーバーを起動すると以下の例外が発生します。
ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 35) JBAS014612:Operation ("add") failed - address:([("subsystem" => "transactions")]) - failure description:"JBAS014802: Cannot resolve expression 'expression \"${jboss.tx.node.id}\"' -- java.lang.IllegalStateException:Failed to resolve expression:${jboss.tx.node.id}"
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
- 以下に定義された
jboss:domain:transactionsjboss-as-txn_1_4.xsd
- 以下に定義された
system-propertiesjboss-as-config_1_5.xsd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.