Wildfly - 未安装的必需服务 - TransactionSynchronizationRegistry

时间:2018-04-26 23:10:26

标签: java transactions wildfly jta jts

我尝试启用JTS,但部署失败并显示以下消息:

2018-04-26 19:57:48,429 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 35) WFLYSRV0021: Deploy of deployment "my-app.war" was rolled back with the following failure message: 

{
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.txn.TransactionSynchronizationRegistry",
        "jboss.txn.TransactionManager"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"my-app.war\".REGISTER is missing [jboss.txn.TransactionSynchronizationRegistry,  jboss.txn.TransactionManager]"] 
}

如何安装/启用这些服务?

我正在使用Wildfly 12。

谢谢!

0 个答案:

没有答案