【问题标题】:Duplicate KieServerMDB in porting to a new server移植到新服务器时重复 KieServerMDB
【发布时间】:2021-05-01 11:31:59
【问题描述】:

我正在将运行在 JBoss EAP 7.3 上的 JBPM 的工作笔记本电脑配置移动到运行相同配置的测试服务器上。 Business Central 和我的 SQL Server JDBC 部署似乎在测试服务器上工作。然而,在

  • 压缩
  • 放入 git repo
  • 从 Git 存储库中检索
  • 解压我的 kie-server.war
我看到了
0:01:21,314 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "kie-server.war")])
 - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"kie-server.war\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"kie-serve
r.war\"
    Caused by: java.lang.IllegalArgumentException: WFLYEE0040: A component named 'KieServerMDB' is already defined in this module"}}
10:01:21,330 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 47) WFLYSRV0010: Deployed "kie-server.war" (runtime-name : "kie-server.war")
10:01:21,330 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 47) WFLYSRV0010: Deployed "business-central.war" (runtime-name : "business-central.war")
10:01:21,330 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."kie-server.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "kie-server.war"

在服务器启动期间。 bean 是在 weblogic-ejb-jar.xml 中定义的——但它还能在哪里定义呢?

 <weblogic-enterprise-bean>
    <ejb-name>KieServerMDB</ejb-name>
    <message-driven-descriptor>
      <destination-jndi-name>jms/KIE.SERVER.REQUEST</destination-jndi-name>
      <connection-factory-jndi-name>jms/cf/KIE.SERVER.REQUEST</connection-factory-jndi-name>
    </message-driven-descriptor>
    <resource-description>
      <res-ref-name>org.kie.server.jms.KieServerMDB/factory</res-ref-name>
      <jndi-name>jms/cf/KIE.SERVER.RESPONSE</jndi-name>
    </resource-description>
  </weblogic-enterprise-bean>

【问题讨论】:

    标签: jboss jbpm drools-kie-server


    【解决方案1】:

    解决了这个问题。在我将我的代码移植到新服务器并将其与 RedHat 代码结合时,复制了几个 JAR。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多