Hazard's stuff

Java/Tomcat Braindamage

— Posted by hazard @ 2005-03-28 01:56
Just now I spent four hours trying to figure out why after I made some changes to a STRUTS app it stopped working. It turned out that Tomcat keeps cached Java code ACROSS RESTARTS. That meant that it was taking bytecode it compiled for my sessionid four hours ago. To make it more confusing it did partially recompile it, but did cache DynaActionForm settings!!!

Now that doesn't happen often, but now I feel really pissed off. rm -rf to /var/cache/tomcat5 ...