Categories Tomcat

Simple Linux Service Wrapper to Run Tomcat on startup

This is a simple wrapper to run Tomcat as a service. You need to be a root user.... Read More

Tomcat How to Set a folder in our app outside the WAR deployment

You may need to do this for a number of reasons.... Read More

Tomcat disable session persistence

When Tomcat is shutdown or restarted will always try to save all the serialized session objects to a file. If we are trying to develop an application and we are testing the session or if we want to disable this feature we have to perform a change in the context.xml file... Read More

Set Tomcat session Timeout

To change the tomcat session timeout you need to specify or change the session-timeout parameter it in the web.xml whose path is WEB-INF/web.xml. Most web containers/application server tend to respect this rule too.... Read More