Dmn file location

can we keep the dmn file in any other location than resource folder? it seemed like working in eclipse, but at when deployed, process failed to read the dmn file

java.lang.RuntimeException: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing ‘Deployment of Process Application null’ => 'Deployment of process archive ‘example-process-archive’: ENGINE-09011 Exception while reading /opt/folder/dmn/etc/NodeSelectorRule.dmn as input stream: null
at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:99)

Hi John,

What is your setup - embedded or share engine?

Best regards,
Yana

hi Yana, sorry for the delayed response. It is a shared application and did explicitly specify the resource location using tag in process.xml

Hi John,

Exception while reading /opt/folder/dmn/etc/NodeSelectorRule.dmn as input stream: null
It seems that you’re using absolute path to specify the resource location, you need to use relative path of the class path.

Best regards,
Yana