简体   繁体   English

我需要担心这个 JBoss Wildfly EJB 调试消息吗?

[英]Do I need to worry about this JBoss Wildfly EJB Debug message?

I'm new to EJB @Jboss WildFly.我是 EJB @Jboss WildFly 的新手。 I have followed some tutorials and things seem to work.我遵循了一些教程,事情似乎奏效了。 Though I get periodically the following debug message:虽然我会定期收到以下调试消息:

Send recover request for transaction origin node identifier 1 to EJB receiver with node name [compuntername]

Should I care about this?我应该关心这个吗?

Thanks.谢谢。

From the JBoss documentation :JBoss 文档

The XARecoveryModule will use the XAResourceRecovery implementation to get a XAResource to the target datasource. XARecoveryModule 将使用 XAResourceRecovery 实现将 XAResource 获取到目标数据源。 On each invocation of periodicWorkSecondPass, the recovery module will issue an XAResource.recover request – this will (as described in the XA specification) return a list of the transaction identifiers (Xid's) that are known to the datasource and are in an indeterminate (in-doubt) state.在每次调用periodicWorkSecondPass 时,恢复模块将发出XAResource.recover 请求——这将(如XA 规范中所述)返回数据源已知且处于不确定(在-怀疑)状态。 The list of these in-doubt Xid's received on successive passes (ie periodicWorkSecondPass-es) is compared.比较在连续传递(即periodicWorkSecondPass-es)上接收到的这些有疑问的Xid 的列表。 Any Xid that appears in both lists, and for which no JTA ResourceRecord was found by the intervening transaction-initiated recovery is assumed to belong to a transaction that was involved in a crash before any JTA ResourceRecord was written, and a rollback is issued for that transaction on the XAResource.出现在两个列表中的任何 Xid 并且中间事务启动的恢复没有找到 JTA ResourceRecord 被假定属于在写入任何 JTA ResourceRecord 之前涉及崩溃的事务,并为此发出回滚XAResource 上的事务。

In short, this message is generated for transaction recovery in case anything (database connection, network connection, server overload, etc) fails.简而言之,此消息是为事务恢复生成的,以防万一(数据库连接、网络连接、服务器过载等)失败。 If this is happening every now and then for you, then you should check what exactly is failing and take appropriate action.如果这种情况时不时发生在您身上,那么您应该检查到底发生了什么故障并采取适当的措施。 If this is once a while, then no need to worry.如果这只是一段时间,则无需担心。

More details can be found here .可以在此处找到更多详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM