gpt4 book ai didi

java - 如果在 Wildfly 13 EE8 上部署多个应用程序,Infinispan 命令调度程序会出现问题

转载 作者:行者123 更新时间:2023-12-02 10:46:23 24 4
gpt4 key购买 nike

我新获得的基础设施确实存在问题,也许有人可以为我指出问题出在哪里或在哪里查看。

我有多个应用程序(打包为war,我也尝试过ear)使用相同的后端jar(业务/服务jar和包含jar的实体)

类似的东西:

app1.war    
/WEB-INF/lib/
|--app1-logik.jar
|--common-business-logik.jar
|--common-entity-mappings.jar

app2.war
/WEB-INF/lib/
|--app2-logik.jar
|--common-business-logik.jar
|--common-entity-mappings.jar

对于我们的部署策略,不可能将公共(public)部分打包到单独的部署中。所以我必须坚持这一点。看起来只有带有注释的有状态bean有问题@Stateful @Named @SessionScoped @Clustered。这些很可能位于 common-business-logik.jar

第二次部署过程中出现问题(第一个部署按预期工作)。

Thrown in org.wildfly.clustering.server.dispatcher.MangedCommandDispatcherFactory.cre>ateCommandDispatcher(Object id, C context) line 98 "jboss.deployment.subunit.\"app2.ear\".\"app2.war\".component.StatefullBean.START" => "java.lang.Ille galArgumentException: WFLYCLSV0017: A command dispatcher for StatefullBean already exists, but with a different command context slave1 | [Server:group1] Caused by: java.lang.IllegalArgumentException: WFLYCLSV0017: A command dispatcher for StatefullBean alrea dy exists, but with a different command context",
slave1 | [Server:group1] "jboss.deployment.subunit.\"app2.ear\".\"app2.war\".component.StatefulBean2.START" => "java.lang.IllegalA rgumentException: WFLYCLSV0017: A command dispatcher for StatefulBean2 already exists, but with a different command context slave1 | [Server:group1] Caused by: java.lang.IllegalArgumentException: WFLYCLSV0017: A command dispatcher for StatefulBean2 already e xists, but with a different command context"
slave1 | [Server:group1] },
slave1 | [Server:group1] "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
slave1 | [Server:group1] "Services that were unable to start:" => [ slave1 | [Server:group1] "jboss.deployment.subunit.\"app2.ear\".\"app2.war\".moduleDeploymentRuntimeInformationStart", slave1 | [Server:group1] "jboss.deployment.unit.\"app2.ear\".WeldEndInitService", slave1 | [Server:group1] "jboss.undertow.deployment.default-server.default-host./app2"
slave1 | [Server:group1] ], slave1 | [Server:group1] "Services that may be the cause:" => `

最佳答案

这是一个错误。我刚刚提交: https://issues.jboss.org/browse/WFLY-11088并将立即提交修复程序。

关于java - 如果在 Wildfly 13 EE8 上部署多个应用程序,Infinispan 命令调度程序会出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52535833/

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