Bpmn file update does not work after grails with camunda plugin deployed to tomcat


#1
Environment
  • Windows 10 Enterprise x64 English
  • JDK 8u131
  • Grails: 2.5.6
  • Grails Plugin: org.camunda.bpm:camunda-engine:7.7.0
  • Apache Tomcat 8.5.16
Steps
  • We deploy the war file built by Grails to tomcat\webapps directory.
  • We use repositoryService.createProcessDefinitionQuery().latestVersion() to get the process definitons.
  • We updated the tomcat\webapps\[war-file-name]\WEB-INF\classes\[package-name]\sample.bpmn file.
  • We check the process definitions, nothing happened.
  • We even try to delete the bpmn file, the corresponding process is still there.
Questions
  • We did exactly the same before, the bpmn file updated as we expected.
  • Now we have no idea why it is not working.

Any help would be appreciated.


#2

Any help, please?

Looks like this does not happen every time. But when it happens, we need to know how to fix it.


#3

Hi @GhostFox,

Although I am not familiar with the Camunda Grails plugin, any kind of logs showing the deployment could help to track down the problem.

Cheers,
Christian


#4

We just found out what happened.

Just simple.

  • One of our developer forgot to execute the sql update script on the camunda database.
  • He happened to ignore the error message that complained on the database schema.

That’s why the bpmn file update did not reflect the process update.

Hope it helps.