Embedded Forms in EJB-Application

I’m new to camunda and right not trying to get a small sample ejb application (with cdi) to run.

Really liking camunda so far, but I have troubles loading embedded Forms. I followed these instructions. However when I try to open the Form in the Tasklist it just keeps on loading (contextPath is null). It seems contextInitialized() in ServletContextListener is not executing (added an log). I have the web.xml of the manual in my project, but also tried a slightly different one from the maven archetypes.

I am deploying to the provided Wildfly Server.
Hopefully this is enough information to understand my problem. Otherwise i am happy to share the project on github or upload a zip file.

Hi @Transzendental,

I think it would be best if you could share your application (or better: a stripped down version) on github. Besides, are there exceptions or noticeable entries in the application server log during deployment of your application?

Thanks,
Thorben

There you go: github

Like a said I am just experimenting, so its fairly simple.

I also successfully deployed an EJB Project i took from the Get Started Guide only external Forms there, but I guess these use the context path as well.

Hi @Transzendental,

web.xml must be in src/main/webapp/WEB-INF, not src/main/resources/WEB-INF. See for example here: https://github.com/camunda/camunda-bpm-examples/blob/master/deployment/spring-jboss-non-pa/src/main/webapp/WEB-INF/web.xml

Cheers,
Thorben

1 Like

Welp, this fixes it. Many thanks.