repository for extensions to tomcat
Tomcat-extensions contains two modules.
- tomcat6
- tomcat7 Each of the module contains a pom.xml and a custom Listener which restore the webapp state after the tomcat server is restarted. Steps to perform to use the above listener are:
- Build the projects tomcat6 and tomcat7 using mvn clean install.
- It creates a jar file in the target folder.
- Copy the above jar in the TOMCAT_HOME/lib/
- Edit the server.xml file at TOMCAT_HOME/conf/ and add the listener under the host tag. Example: To add the Listener for tomcat7, add the following under host tag.