我正在将运行在JBoss EAP 7.3之上的JBPM的工作笔记本电脑配置移动到运行相同配置的测试服务器上。Business Central和我的SQL Server JDBC似乎都部署在测试服务器上。然而,在
- 压缩
- 放置在git仓库中
- 从Git仓库中检索
- 解压我的key -server。战争
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>
问题解决了。在我将我的代码移植到新服务器并将其与RedHat代码结合的过程中,有几个jar被复制了。