Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Integrate into Payara (i.e.) running in Docker #6

Open
oxyuranus-scutellatus opened this issue Nov 25, 2020 · 1 comment
Open

Integrate into Payara (i.e.) running in Docker #6

oxyuranus-scutellatus opened this issue Nov 25, 2020 · 1 comment

Comments

@oxyuranus-scutellatus
Copy link

oxyuranus-scutellatus commented Nov 25, 2020

(Sorry, it is not really an issue)

Well, not everybody likes it to have it in an embedded Tomcat.

I struggled quite a while to get it running in Payara 5.201 (dockerized).

Maybe, someone is interested in how I finally got it working.

First of all, you will need a file demoapp/src/main/webapp/WEB-INF/web.xml where you define a listener. Then a filter element with filter-name 'myFilter' and an element filter-mapping with filter-name 'myFilter'.

Second, in the pom, a dependency element with groupId 'com.fasterxml.jackson.dataformat' and artifactId 'jackson-dataformat-xml' helps getting rid of a WARNING while Payara is starting up (and the demoapp is not working).

Third, in a file demoapp/src/main/webapp/WEB-INF/payara-web.xml you better have to define an element class-loader with an attribute delegate set to 'false'.

See attachment.
descriptors.zip

@mooreds
Copy link
Contributor

mooreds commented Dec 19, 2020

This is great @oxyuranus-scutellatus . A better place to publish it might be to add it to the community forum: https://fusionauth.io/community/forum/

Thanks again!

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

No branches or pull requests

2 participants