In my application all compiled classes are put under WEB-INF/classes. I am trying to set up Tomcat so that it picks up changes in class files without reloading the context. The latter works by adding reloadable="true"
to <Context>
configuration, but context reload still takes too much time.
Seems that basic hotswap (changes in existing methods) can work when running Tomcat in debug mode via
bin/catalina.sh jdpa start
Still, when Tomcat is thus started, recompilation does not affect things. I've tested it by modifying existing logger statements - they remain similar as before Tomcat was actually started. Can someone please point me to the cause of the problem?
I'm not using Eclipse, but text editor and Gradle to run the builds.
Thanks!