Are you embedding a form you created with Form Builder using the embedding API (linked below)? Is this with Orbeon Forms 2016.3? Can you reproduce this when embedding a build-in form, say the Bookshelf Form? And if you can, could you share with us some code that does this, so we can reproduce the issue here?
Thanks for your answer.
Yes I am embedding a form created with the form builder using the embedding API with version 2016.3.
I was trying to have the form runner using the same instance of the servlet container.
I now have the form runner running on a separate container and it is working.
Here is the setup.
orbeon-embedding.jar in the WEB-INF/lib of my app with the following web.xml
I'm glad it works with a separate container. Things should work out when running both your app and Orbeon Forms on the same container. In fact this is how we test the feature, and how most customers are using it, so I would have been less surprised had you told me things don't work when using different containers :). Anyhow, thank you for the update.
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet