Hi
I have deployed my process application as a war file. It gives me the below error when I try to complete a task that invokes Task Listener which calls an external JavaScript file.
Caused by: org.camunda.bpm.engine.exception.NotFoundException: ENGINE-09024 Unable to find resource at path openWorkId.js.
26-Apr-2021 00:25:38.416 SEVERE [http-nio-8080-exec-6] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'ENGINE-09024 Unable to find resource at path openWorkId.js'
org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: 'ENGINE-09024 Unable to find resource at path openWorkId.js'
at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.invokeTaskListenerException(EnginePersistenceLogger.java:451)
I could see that this js file is deployed along with the bpmn files and is able to see it in Cockpit. I also have added js in processes.xml file.
This error will be resolved if make some small changes in the bpmn file and deploy the same war again. I copy the war file to webapps folder of tomcat. All other externally referenced javascript files from this bpmn files are invoked successfully. I also tried to restart the tomcat server but in vain
Please help me
Regards,
Prasad