При запуске Camunda версии 7.7 на tomcat мы используем такой файл, как этот
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
Надеюсь, кто-нибудь может написать мне в правильном направлении =)