fetchAndLock

When i make Rest Request
http://localhost:8080/engine-rest/external-task/fetchAndLock
with the request body,
{
“workerId”:“12345”,
“maxTasks”:2,
“usePriority”:true,
“topics”:
[{“topicName”: “rejectPolicy”,
“lockDuration”: 10000
}]
}
{

Throwing this exception.
“type”: “ProcessEngineException”,
“message”: “An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.”
}

Please help on this

Hi @d_prassaad,

An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.

Did you check the server log? There should be an exception message explaining what went wrong.

Thank you Miklas. I’am attaching the error log for your reference. I’m not a Java guy. catalina.2021-06-08.log (115.1 KB)

You’re using Java16
Java Home: E:\jdk-16

You need to downgrade to JDK 11 camunda dones’t support 16.

Thank you @Niall - WORKING. I have downgraded to jdk-11 download link without oracle login (Java Platform, Standard Edition 11 Reference Implementations).

1 Like

Hi @d_prassaad,

glad to see it works for you now!
Just to let you know, the issue you are experiencing will be fixed with https://jira.camunda.com/browse/CAM-13557. :slight_smile:

Cheers
Tobias

1 Like