首页 > 解决方案 > Wildfly - 未安装的必需服务 - TransactionSynchronizationRegistry

问题描述

我正在尝试启用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。

谢谢!

标签: javatransactionswildflyjtajts

解决方案


推荐阅读