JBPM6 WAR不在Jboss EAP 6.3.0和EAP 6.2.0上部署

时间:2015-03-08 13:55:32

标签: deployment drools jbpm jboss-eap-6

我无法将JBPM6完全安装程序生成的war文件部署到Jboss-EAP-6.3.0和EAp-6.2.0。

问题陈述

每当我将生成的WAR部署到Jboss-EAP-6.3.0服务器时,我都会收到以下错误。我已经从 jbpm-6.1.0.Final-installer-full.zip 生成了war文件。

我从

获取了WAR
      <i>jbpm-installer\lib\jbpm-console-6.1.0.Final </i>

并尝试了

      <i> jbpm-installer\wildfly-8.1.0.Final\standalone\deployments\jbpm-console.war </i>

错误

17:35:19,907 ERROR [org.jboss.msc.service.fail](MSC服务主题1-3)MSC000001:无法启动服务jboss.deployment.unit。&#34; jbpm-console .war&#34; .STRUCTURE:org.jboss.msc.servi     服务中的ce.StartException jboss.deployment.unit。&#34; jbpm-console.war&#34; .STRUCTURE:JBAS018733:无法处理部署的阶段结构&#34; jbpm-console.war&#34;             在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]             at org.jboss.msc.service.ServiceControllerImpl $ StartTask.startService(ServiceControllerImpl.java:1980)[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]             at org.jboss.msc.service.ServiceControllerImpl $ StartTask.run(ServiceControllerImpl.java:1913)[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]             在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_72]             at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_72]             在java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_72]     引起:org.jboss.as.server.deployment.DeploymentUnitProcessingException:JBAS018774:从D:\ DevelopmentWorks \ A加载jboss-all.xml时出错:JBPM CLEAN \ jboss-eap-6.3 \ standalo     NE \ tmp目录\ VFS \ TEMP \ tempf6aa08ac4728b487 \内容ab7fc8043b0c6a18 \ META-INF \ jboss的,all.xml             在org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:153)[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Fina     1-红帽-19]             在org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:128)[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Fina     1-红帽-19]             在org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.deploy(JBossAllXMLParsingProcessor.java:96)[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Fina     1-红帽-19]             在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]             ......还有5个     引起:javax.xml.stream.XMLStreamException:[row,col]处的ParseError:[18,3]     消息:意外的元素&#39; {urn:jboss:weld:1.0} weld&#39;             在org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)             at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)             在org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor $ Parser.parseJBossElement(JBossAllXMLParsingProcessor.java:203)[jboss-as-server-7.4.0.Final-redha     叔19.jar:7.4.0.Final-红帽-19]             在org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor $ Parser.readElement(JBossAllXMLParsingProcessor.java:192)[jboss-as-server-7.4.0.Final-redhat-19.j     AR:7.4.0.Final-红帽-19]             在org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor $ Parser.readElement(JBossAllXMLParsingProcessor.java:176)[jboss-as-server-7.4.0.Final-redhat-19.j     AR:7.4.0.Final-红帽-19]             在org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)             在org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)             在org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:148)[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Fina     1-红帽-19]             ... 8更多

17:35:19,937 ERROR [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS015870: Deploy of deployment "jbpm-console.war" was rolled back with the following failure message
:
{"JBAS014671: Failed services" => {"jboss.deployment.unit.\"jbpm-console.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jbpm-console.
war\".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment \"jbpm-console.war\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018774: Error loading jboss-all.xml from D:\\DevelopmentWorks\\A - JBPM CLEAN\\jboss-eap-6.3\\
standalone\\tmp\\vfs\\temp\\tempf6aa08ac4728b487\\content-ab7fc8043b0c6a18\\META-INF\\jboss-all.xml
    Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[18,3]
**Message: Unexpected element '{urn:jboss:weld:1.0}weld'"}}**
17:35:19,944 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment jbpm-console.war (runtime-name: jbpm-console.war) in 6ms
17:35:19,955 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."jbpm-console.war".STRUCTURE

1 个答案:

答案 0 :(得分:1)

那是因为战争是为wildfly准备的(有一些特定的依赖关系需要添加到它上面),所以你需要获得EAP分发,或者你可以从源代码构建它。

如果您克隆并构建此存储库:https://github.com/droolsjbpm/kie-wb-distributions/(最具体的是kie-wb应用程序)并查看kie-wb / kie-wb-distribution-wars,您将发现EAP准备战争。

或者您可以从Nexus下载已经构建的EAP WAR,包括SNAPSHOTS和CR版本:https://repository.jboss.org/nexus/index.html#nexus-search;gav~org.kie~kie-wb-distribution-wars~~~~kw,versionexpand

(根据版本,查看EAP 6_4或6_3最右列中的链接)