How do I enable custom retry on a tomcat using bpm-platform.xml

Hi.

We are running camunda 7.7 on a tomcat. We use a bpm-platform.xml with this configuration

org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration

I have found examples that states we should add theese configurations to enable custom retry.

<property name=“customPostBPMNParseListeners">org.camunda.bpm.engine.impl.bpmn.parser.FoxFailedJobParseListener

  <property name=“failedJobCommandFactory”>org.camunda.bpm.engine.impl.jobexecutor.FoxFailedJobCommandFactory</property>

But if I do it like that I get this stacktrace
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

Hope you can help me out here.
Regards Obi.

Hi.

Just testet a custom retry without changing the bpm-platform.xml and the custom retry was enabled by default. It says in the documentation that it isnt https://docs.camunda.org/manual/7.7/user-guide/process-engine/the-job-executor/#enable-a-custom-retry-configuration. But it is when you use the deployment descripter

Hi @Ole_Bille,

since Camunda 7.8, the custom retry configuration is enabled by default.

Best regards,
Philipp