在tomcat上启动camunda 7.7版时,我们使用的是这样的文件 https://github.com/camunda/camunda-bpm-platform/blob/master/distro/tomcat/assembly/src/conf/bpm-platform.xml
我们如何启用CustomRetryHandler?
我发现,如果我们使用版本7.8,则默认情况下启用它。但是我们现在是7.7,没有计划立即升级。
我已经找到此页面。 https://forum.camunda.org/t/custom-retry-configuration-in-camunda-wildlfy-subsystem/5345
但是,如果我尝试添加
<property name="customPostBPMNParseListeners">
org.camunda.bpm.engine.impl.bpmn.parser.FoxFailedJobParseListener
</property>
<property name="failedJobCommandFactory">
org.camunda.bpm.engine.impl.jobexecutor.FoxFailedJobCommandFactory
</property>
我收到此错误
Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08039 Cannot set property 'customPostBPMNParseListeners' on instance of class 'org.camun
da.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration'
at org.camunda.bpm.container.impl.ContainerIntegrationLogger.cannotSetValueForProperty(ContainerIntegrationLogger.java:281)
at org.camunda.bpm.container.impl.metadata.PropertyHelper.applyProperty(PropertyHelper.java:87)
at org.camunda.bpm.container.impl.metadata.PropertyHelper.applyProperties(PropertyHelper.java:106)
at org.camunda.bpm.container.impl.deployment.StartProcessEngineStep.performOperationStep(StartProcessEngineStep.java:104)
at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:116)
... 17 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.camunda.bpm.container.impl.metadata.PropertyHelper.applyProperty(PropertyHelper.java:84)
... 20 more
希望有人可以向正确的方向发布我=)
答案 0 :(得分:1)
默认情况下启用。因此,无需更改。
我猜想在使用部署描述符时会有所不同。