- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.arjuna.ats.jta.utils.XAHelper.printXAErrorCode()
方法的一些代码示例,展示了XAHelper.printXAErrorCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XAHelper.printXAErrorCode()
方法的具体详情如下:
包路径:com.arjuna.ats.jta.utils.XAHelper
类名称:XAHelper
方法名:printXAErrorCode
[英]Print a human-readable version of the XAException.
[中]打印XAException的可读版本。
代码示例来源:origin: org.jboss.narayana.jta/jta
jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "< >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
for (Xid xid : trans) {
byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
public boolean delistResource (XAResource xaRes, int flags)
throws IllegalStateException, javax.transaction.SystemException
if (jtaxLogger.logger.isTraceEnabled()) {
jtaxLogger.logger.trace("TransactionImple.delistResource ( "
+ xaRes + ", " + flags + " )");
jtaxLogger.i18NLogger.warn_jtax_transaction_jts_xaerror("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);
代码示例来源:origin: jbosstm/narayana
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "< >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());
代码示例来源:origin: org.jboss.narayana.jta/jta
public boolean delistResource(XAResource xaRes, int flags)
throws IllegalStateException, javax.transaction.SystemException
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);
代码示例来源:origin: jbosstm/narayana
+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
for (Xid xid : trans) {
byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: org.jboss.narayana.jta/jta
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "< >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
public boolean delistResource(XAResource xaRes, int flags)
throws IllegalStateException, javax.transaction.SystemException
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);
代码示例来源:origin: jbosstm/narayana
+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
for (Xid xid : trans) {
byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: jbosstm/narayana
jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "< >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());
代码示例来源:origin: jbosstm/narayana
public boolean delistResource(XAResource xaRes, int flags)
throws IllegalStateException, javax.transaction.SystemException
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);
代码示例来源:origin: org.jboss.narayana.jta/jta
+ " xids in doubt");
if (jtaLogger.logger.isTraceEnabled()) {
for (Xid xid : trans) {
byte[] globalTransactionId = xid.getGlobalTransactionId();
jtaLogger.i18NLogger.warn_recovery_xarecovery1(_logName+".xaRecovery", XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta
jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: jbosstm/narayana
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + xae.getMessage());
jtaLogger.i18NLogger.warn_resources_arjunacore_opcerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(xae), xae);
String xidString = xid == null ? "< >" : XAHelper.xidToString(xid);
String resourceString = xaResource == null ? "null XA resource" : xaResource.toString();
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") " + ex.getMessage());
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("XAOnePhaseResource.commit(" + xid + ") called forget and got " + ex.getMessage());
代码示例来源:origin: jbosstm/narayana
public boolean delistResource(XAResource xaRes, int flags)
throws IllegalStateException, javax.transaction.SystemException
if (jtaLogger.logger.isTraceEnabled()) {
jtaLogger.logger.trace("TransactionImple.delistResource ( " + xaRes + ", " + flags + " )");
jtaLogger.i18NLogger.warn_transaction_arjunacore_delistresource("TransactionImple.delistResource", XAHelper.printXAErrorCode(exp), exp);
代码示例来源:origin: jbosstm/narayana
jtaLogger.i18NLogger.warn_resources_arjunacore_rollbackerror(XAHelper.xidToString(xid),
xaResource.toString(), XAHelper.printXAErrorCode(e), e);
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
public org.omg.CosTransactions.Vote prepare() throws HeuristicMixed,
HeuristicHazard, org.omg.CORBA.SystemException
if (jtaxLogger.logger.isTraceEnabled()) {
jtaxLogger.logger.trace("XAResourceRecord.prepare for " + _tranID);
XAHelper.xidToString(_tranID), XAHelper.printXAErrorCode(e1), e1);
if (jtaxLogger.logger.isTraceEnabled()) {
jtaxLogger.logger.tracef(
"XAResourceRecord.prepare exception %s resource_trace: txn uid=%s " +
"resource uid=%s\n",
XAHelper.printXAErrorCode(e1), _tranID, get_uid());
XAHelper.xidToString(_tranID), "-", e2);
本文整理了Java中com.arjuna.ats.jta.utils.XAHelper.xidToString()方法的一些代码示例,展示了XAHelper.xidToString()的具体用法。这些
本文整理了Java中com.arjuna.ats.jta.utils.XAHelper.sameXID()方法的一些代码示例,展示了XAHelper.sameXID()的具体用法。这些代码示例主要来源
本文整理了Java中com.arjuna.ats.jta.utils.XAHelper.printXAErrorCode()方法的一些代码示例,展示了XAHelper.printXAErrorCode
我是一名优秀的程序员,十分优秀!