Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running the camunda application in docker, forms are not working #3

Open
naveenkarya opened this issue Aug 1, 2017 · 2 comments

Comments

@naveenkarya
Copy link

I used sdk-camunda-archetype 7.6.4-00 version.
I was trying out loan-approval example. I placed the forms inside src/main/webapp/forms as generated by the archetype. When running the application as spring boot directly from STS, everything works as expected.
But when I create a docker image, and then try to run it as a container, and then start a process from tasklist, the form is created but not displayed. When opened, it displays error:
"Form failure: No message available"

However, if I place the forms inside src/main/resources/static folder, it works fine even inside docker container.
image

@devsetgo
Copy link

I have the same issue, did you @naveenkarya ever solve this?

@naveenkarya
Copy link
Author

naveenkarya commented Jun 24, 2018

I think the solution would be the one I mentioned in the end.
"if I place the forms inside src/main/resources/static folder, it works fine even inside docker container"
This is because spring-boot by default picks up resources from the static folder. However, you can configure a different path (as per your need) in spring-boot properties.
I posted this question because I was (am) not 100% sure whether this is the right approach or maybe the documentation needs to be corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants