foundeo / ubuntu-nginx-lucee

Script for standing up a Lucee server using nginx and Tomcat on Ubuntu
Apache License 2.0
86 stars 47 forks source link

Adding scanClassPaths=false to mod_cfml in Tomcat, for improved conte… #3

Closed paulklinkenberg closed 9 years ago

paulklinkenberg commented 9 years ago

…xt loading time

2 changes: 1) timeBetweenContexts=2000 (2 seconds), to make sure all contexts can load fast after a Tomcat restart The old 30 seconds means, only 2 contexts per minute can be created, which can be a pain after a Tomcat restart. 2) added scanClassPaths=false, to improve context loading from +/- 3 seconds to +/- 0.5 seconds. Scanning classPaths in Tomcat is not necessary for Lucee, it is even discouraged by Michael Offner (Lucee CTO).