没有流程引擎找到。 camunda的webapp离不开流程引擎工作(No process eng

2019-09-26 15:11发布

当我成立了一个camunda BPMN平台,我有以下错误

HTTP状态500 - org.camunda.bpm.webapp.impl.IllegalWebAppConfigurationException:找不到流程引擎。 camunda的webapp离不开流程引擎工作

确认两个“/ camunda”和“/发动机休息”被部署在Tomcat上运行。

但是/发动机休息与以下错误返回404。

描述:所请求的资源不可用。

请帮忙!。

Answer 1:

您需要配置的共享流程引擎为你的服务器中所描述https://docs.camunda.org/manual/7.5/installation/full/tomcat/manual/#add-bpm-platform-xml



Answer 2:

增加了BPM-platform.xml为 '/ conf目录'

<?xml version="1.0" encoding="UTF-8"?>
<bpm-platform xmlns="http://www.camunda.org/schema/1.0/BpmPlatform"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.camunda.org/schema/1.0/BpmPlatform http://www.camunda.org/schema/1.0/BpmPlatform ">

  <job-executor>
    <job-acquisition name="default" />
  </job-executor>

  <process-engine name="default">
    <job-acquisition>default</job-acquisition>
    <configuration>org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration</configuration>
    <datasource>java:jdbc/ProcessEngine</datasource>

    <properties>
      <property name="history">full</property>
      <property name="databaseSchemaUpdate">true</property>
      <property name="authorizationEnabled">true</property>
      <property name="jobExecutorDeploymentAware">true</property>
    </properties>

  </process-engine>

</bpm-platform>


文章来源: No process engine found. camunda Webapp cannot work without a process engine
标签: bpmn camunda