All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Search JAR files by class name

Download tomcat-deployment-listener JAR 1.0.0 with all dependencies


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

Files of the artifact tomcat-deployment-listener version 1.0.0 from the group com.github.yohayg.

There is a newer version: 2.0.0
Show newest version
Show more of this group  Show more artifacts with this name
Show all versions of tomcat-deployment-listener Show documentation

Please rate this JAR file. Is it a good library?

0 downloads

Source code of tomcat-deployment-listener version 1.0.0

Please wait ...




© 2015 - 2025 Weber Informatics LLC | Privacy Policy