Skip to Content
0
Oct 20, 2015 at 12:08 PM

Running Tomcat in development mode in production

385 Views

Apart from a (tiny) performance impact, are there any reasons for NOT running Tomcat in development mode in production?

It is - unfortunately - sometimes needed that a .jsp or .tag file needs to be fixed at runtime in production. If development mode is switched off, a server restart is required to pick up the changes, otherwise the files are automatically recompiled and reread on the first access after the change.

If development mode is fine in production, how should "modificationTestInterval" and "checkInterval" be set?

https://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html provides some hints, but it does not mention how "checkInterval" should be set.

Any thoughts on this?