JBOSS 从 7.1 迁移到 7.4

问题描述 投票:0回答:1

我已成功完成 JBoss 迁移。但是,当我尝试使用 bin 文件夹中的standalone.bat 文件来启动服务器时,我的一些 .jar 部署失败。我该如何解决这个问题?有什么建议吗?

错误如下所示:

2024-05-02 08:28:25,667 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) M3C000001: Failed to start service

jboss.deployment.subunit. "email-as-ear.ear", "email-as-ejb-3.0.0.10.jar". PARSE: org.jboss.msc.service.StartException in service

jboss.deployment.subunit."email-as-ear.ear","email-as-ejb-3.0.0.10.jar".PARSE:WFLYSRV0153: Failed to process phase PARSE of subdeployment "email-as-ejb-3.0.0.10.jar" of deployment "email-as-ear.ear"

at org.jboss.threads . EnhancedQueueExecutor.safeRun (EnhancedQueueExecutor.java:1990) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask (EnhancedQueueExecutor.java:1486)

Caused by: org.jboss.msc.service. ServiceNotFoundException: service jboss.ejb.default-resource-adapter-name-service not found
"{\" WFLYCTL0080: Failed services\" => [\"jboss.deployment.subunit.\\\"email-as-ear.ear\\\".\\\"email-as-ejb-3.0.0.10.jar\\\".PARSE\" =>

"WFLYSRV0153: Failed to process phase PARSE of subdeployment \\\"email-as-ejb-3.0.0.10.jar\\\" of deployment \\\"email-as-ear.car\\\" Caused by: org.jboss.msc.service.ServiceNotFoundException: service jboss.ejb.default-resource-adapter-name-service not found\"}}"

理想情况下,这些 jar 在我的上一个 Jboss 7.1 中工作没有任何问题,但在这里它导致了一些问题。

jboss migration datasource jboss7.x
1个回答
0
投票

这意味着https://docs.wildfly.org/31/wildscribe/subsystem/ejb3/index.html#attr-default-resource-adapter-name的值未设置。您需要将其配置为默认值:“activemq-ra”或您想要使用的任何资源适配器。

© www.soinside.com 2019 - 2024. All rights reserved.