简体   繁体   English

如果在Wildfly 13 EE8上部署了多个应用程序,则Infinispan命令调度程序问题

[英]Infinispan command dispatcher problem if multiple applications are deployed on Wildfly 13 EE8

I do have a problem with my newly obtained infrastructure and maybe someone can point out for me what's wrong or where to look at. 我的新获得的基础架构确实存在问题,也许有人可以为我指出出什么问题或在哪里看。

I have multiple applications (packed as war's, I tried ear's too) using the same backend-jar's (business/service jars and entity containing jar) 我使用相同的后端jar(业务/服务jar和包含jar的实体)有多个应用程序(打包成战争的,我也尝试过耳朵的)

something like that: 像这样的东西:

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

For our deployment strategy, it is not possible to pack the common parts into a separate deployment. 对于我们的部署策略,不可能将公共部分打包到单独的部署中。 So I have to stick with this. 所以我必须坚持这一点。 It looks like there is only a problem with the stateful beans annotated with @Stateful @Named @SessionScoped @Clustered . 看起来用@Stateful @Named @SessionScoped @Clustered注释的有状态bean只是一个问题。 These are most likely located in common-business-logik.jar 这些很可能位于common-business-logik.jar中

The problem occurs during the second deployment process (the first one is working as expected). 该问题发生在第二个部署过程中(第一个正在按预期工作)。

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", 投掷到org.wildfly.clustering.server.dispatcher.MangedCommandDispatcherFactory.cre> ateCommandDispatcher(Object id,C context)第98行“ jboss.deployment.subunit。\\“ app2.ear \\”。\\“ app2.war \\”。component中.StatefullBean.START“ =>” java.lang.Ille galArgumentException:WFLYCLSV0017:StatefullBean的命令调度程序已经存在,但是具有不同的命令上下文slave1 | [Server:group1]原因:java.lang.IllegalArgumentException:WFLYCLSV0017:A存在StatefullBean alrea dy的命令调度程序,但是具有不同的命令上下文”,
slave1 | 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" [Server:group1]“ jboss.deployment.subunit。\\” app2.ear \\“。\\” app2.war \\“。component.StatefulBean2.START” =>“ java.lang.IllegalA rgumentException:WFLYCLSV0017:的命令调度程序StatefulBean2已经存在,但是具有不同的命令上下文slave1 | [Server:group1]原因:java.lang.IllegalArgumentException:WFLYCLSV0017:StatefulBean2的命令调度程序已经存在,但是具有不同的命令上下文。
slave1 | slave1 | [Server:group1] }, [Server:group1]},
slave1 | slave1 | [Server:group1] "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." [Server:group1]“ WFLYCTL0288:由于一个或多个间接依赖项不可用,所以无法启动一个或多个服务。” => { => {
slave1 | slave1 | [Server:group1] "Services that were unable to start:" => [ slave1 | [Server:group1]“无法启动的服务:” => [slave1 | [Server:group1] "jboss.deployment.subunit.\\"app2.ear\\".\\"app2.war\\".moduleDeploymentRuntimeInformationStart", slave1 | [Server:group1]“ jboss.deployment.subunit。\\” app2.ear \\“。\\” app2.war \\“。moduleDeploymentRuntimeInformationStart”,slave1 | [Server:group1] "jboss.deployment.unit.\\"app2.ear\\".WeldEndInitService", slave1 | [server:group1]“ jboss.deployment.unit。\\” app2.ear \\“。WeldEndInitService”,slave1 | [Server:group1] "jboss.undertow.deployment.default-server.default-host./app2" [Server:group1]“ jboss.undertow.deployment.default-server.default-host./app2”
slave1 | slave1 | [Server:group1] ], slave1 | [Server:group1],slave1 | [Server:group1] "Services that may be the cause:" => ` [Server:group1]“可能是服务的原因:” =>`

This is a bug. 这是一个错误。 I've just filed: https://issues.jboss.org/browse/WFLY-11088 and will submit a fix momentarily. 我刚刚提交了: https : //issues.jboss.org/browse/WFLY-11088 ,并将立即提交修复程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM