我正在将运行在JBoss EAP 7.3上的JBPM的工作笔记本电脑配置移动到运行相同配置的测试服务器上。Business Central和我的SQL Server JDBC似乎部署在测试服务器上工作。但是,在
- 压缩的
- 放入Git回购协议
- 从Git存储库检索
- 正在解压缩我的kie服务器。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>
1条答案
按热度按时间2skhul331#
解决了这个问题。在我将代码移植到一个新的服务器并将其与RedHat代码结合时,有几个JAR被重复了。