-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
The jetty docker image leaks slf4j impl to the webapp #8622
Comments
Is there a way to call the docker image and override the entry point/command properly to skip the
Thanks |
Your link to the WAR to reproduce gives a 404 response, so I could not reproduce. Btw the jetty docker images are maintained at https://github.com/eclipse/jetty.docker and not in this repository. |
@lachlan-roberts Thanks for trying to reproduce. My bad for pointing to a snapshot that got removed, sorry about that. You cannot reproduce with However you should be able to reproduce with
Generates for me:
Should I open an issue there instead and close this one? Thanks a lot! |
I guess the answer is yes so I've now created jetty/jetty.docker#118 |
Jetty version(s)
10.0.12
Description
XWiki has a webapp that contains slf4j and we've upgraded to version 2.0.0. This is causing a failure to start the official jetty docker image (tag
10-jdk11
), with the following error (see https://jira.xwiki.org/browse/XWIKI-20131 too):We are able to start the jetty from the standard jetty zip withoot any problem when using
java -jar $JETTY_HOME/start.jar
.The issue is that the docker image runs
docker-entrypoint.sh
which callsgenerate-jetty-start.sh
and which generates ajetty.start
file which, when executed causes the failure to deploy the xwiki webapp with the stacktrace from above.FYI the generated
jetty.start
is:Related:
To reproduce:
XWIKIDIR
)docker run -v XWIKIDIR:/var/lib/jetty/webapps/xwiki -p 8080:8080 jetty:10-jdk11
Thanks for any help on this!
The text was updated successfully, but these errors were encountered: