gpt4 book ai didi

deployment - WAR 部署中缺少 Wildfly DefaultJMSConnectionFactory

转载 作者:行者123 更新时间:2023-12-04 03:21:11 25 4
gpt4 key购买 nike

我正在尝试将 openscoring.io war 文件部署到 Wildfly。这是我第一次尝试使用 Wildfly,所以我可能会遗漏一些简单的东西。

部署/启用 war 时出现以下错误:

Unable to modify deployment.

Unexpected HTTP response: 500

Request { "operation" => "deploy", "address" => [("deployment" => "openscoring-webapp-1.2-SNAPSHOT.war")] }

Response

Internal Server Error { "outcome" => "failed", "failure-description" => {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"openscoring-webapp-1.2-SNAPSHOT\".\"openscoring-webapp-1.2-SNAPSHOT\".DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]}, "rolled-back" => true }

我查看了 domain.xml,可以看到 DefaultJMSConnectionFactory 就在那里

 <entries>
<entry name="java:/JmsXA"/>
<!-- Global JNDI entry used to provide a default JMS Connection factory to EE application -->
<entry name="java:jboss/DefaultJMSConnectionFactory"/>
</entries>

任何有关下一步去向的想法都将不胜感激。提前致谢。

最佳答案

尝试使用 standalone-full 配置启动 Wildfly (./standalone.sh --server-config=standalone-full.xml)。默认配置仅包含 Web 配置文件,不包含 JMS。

关于deployment - WAR 部署中缺少 Wildfly DefaultJMSConnectionFactory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38317503/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com