How to add camunda resources autodeploy in graalVM? #450
-
Hello! I want to try to start my micronaut application with camunda in graalVM, but when I start my app there is no messages in log about deploy bpmn and dmn files from resources and there is no data in camunda tables in database. I add paths to it in my resource-config.json and choose right camunda.locations. Do you have some ideas how it can be fix? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @nklimkin , thanks for trying the integration and creating this issue. This project does currently not fully support GraalVM (we should a FAQ with the known issues and workarounds). One issue is the missing auto-deployment you experienced. Have you tried using You don't say so, but I guess its working for you without GraalVM, right? I assume that you will run into more issues - some are documented here: #9 However, if you implement an external worker it will work and your external worker will start in milliseconds with GraalVM: |
Beta Was this translation helpful? Give feedback.
-
Yes, I have tried to create custom deploy with repositoryService and it work correct without GraalVM but if I do the same with GraalVM there are exceptions that there are no enough xsd files in resources to parse my bpmn files. |
Beta Was this translation helpful? Give feedback.
-
Hi @nklimkin , Would you like to create a pull request to document how to get GraalVM working? And you could use this as a template: |
Beta Was this translation helpful? Give feedback.
Hi @nklimkin ,
thanks for trying the integration and creating this issue.
This project does currently not fully support GraalVM (we should a FAQ with the known issues and workarounds).
One issue is the missing auto-deployment you experienced.
Have you tried using
repositoryService.createDeployment()
manually with your bpmn file which you call in an@EventListener
which is registered toServerStartupEvent
?You don't say so, but I guess its working for you without GraalVM, right?
I assume that you will run into more issues - some are documented here: #9
However, if you implement an external worker it will work and your external worker will start in milliseconds with GraalVM:
https://github.…