When I start my process instance , the execution is waiting at start event (the history doesn’t even show that the execution travelled further the start event).It was working fine and all of a sudden it started. I checked the standalone servers logs and cant find any exceptions. Earlier the system had some dead lock issues ( Deadlock when completing external task) and I restarted the server and the issue still persists. Can someone help me where I should start my investigation.
Process instances again started stuck at the start event once I start the instance. From the Catalina logs I could see there are two issues.
1.13-Feb-2021 11:29:55.065 SEVERE [http-nio-8080-exec-7] org.jboss.resteasy.logging.impl.Slf4jLogger.error failed to execute
javax.ws.rs.NotFoundException: Could not find resource for full path: http://host-ip:8080/engine-rest/
at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:112)
13-Feb-2021 11:29:55.721 SEVERE [http-nio-8080-exec-5] org.jboss.resteasy.logging.impl.Slf4jLogger.error failed to execute
javax.ws.rs.NotAllowedException: No resource method found for GET, return 405 with Allow header
However, I even tried to hit http://host-ip:8080/engine-rest/deployment , this returns 200 with the list of deployments. Sometimes a re-deployment may fix this issue, but cant afford to have deployment all the time.
It’s not clear to me if you managed to resolve your previous deadlock issue or not. Can you clarify if you managed to resolve it first? If you managed to resolve that issue, it would be useful if you confirm it in that thread, and (if possible) mark a comment as the solution there.
@prasadps, I would recommend to try and resolve the deadlock issue first, as it seems they might be related. If the issue described in this topic is still present after resolving the deadlock, we can continue.
After changing the environment , deadlock issue again popped up after a long time with the following error.
Cause: com.microsoft.sqlserver.jdbc.SQLServerException: Transaction (Process ID 80) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.(We are using MS SQL Server)
However our camunda tables lies in the same database as to that of another application. So the above mentioned changes will affect those tables as well. Is there anyway I can apply those mentioned changes in camunda server config.( ie inside Resource tag.) as an alternative.
I had a problem long time ago, that on restart of server job executor did not work and after redeployment of models it agains worked, until next camunda restart.