Download JAR files tagged by influencing with all dependencies
tomcat-deployment-listener from group com.github.yohayg (version 2.0.0)
According to Docker best practices a Docker container should not be up if the process fails to load properly.
Apache Tomcat deploys all the web applications loaded in its webapp folder. This is a resilient solution for web
applications not influencing the application server.
However, In a Docker environment according to best practice, the process should fail in case the web application
failed to initialize properly.
By adding the additional jar created by this project to Tomcat classpath and adding the new listener in the
Tomcat
conf/server.xml the user can make sure the Tomcat process fails in case there is an initialization exception in
their web application which will cause the Tomcat used the tomcat container to abort in immediately indicate
that there was an initialization error
Abort tomcat when a webapp fails to deploy in Docker container
Docker container best practice. Tomcat does not stop if a webapp fail to deploy and the container will continue
to run.
By adding this listener the tomcat will abort in case the Tomcat fails to deploy the webapp,
And the container will not start.
You will need to place the listener in Tomcat server.xml and set the Tomcat classpath to contain this jar
Group: com.github.yohayg Artifact: tomcat-deployment-listener
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact tomcat-deployment-listener
Group com.github.yohayg
Version 2.0.0
Last update 03. April 2018
Organization not specified
URL https://github.com/yohayg/tomcat-deployment-listener.git
License MIT License
Dependencies amount 1
Dependencies tomcat-catalina,
There are maybe transitive dependencies!
Group com.github.yohayg
Version 2.0.0
Last update 03. April 2018
Organization not specified
URL https://github.com/yohayg/tomcat-deployment-listener.git
License MIT License
Dependencies amount 1
Dependencies tomcat-catalina,
There are maybe transitive dependencies!
Page 1 from 1 (items total 1)