Bug 37668

Summary: antiResourceLocking stops JSP reloading
Product: Tomcat 5 Reporter: Chris Barran <c.d.barran>
Component: Webapps:DocumentationAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 5.5.9   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Chris Barran 2005-11-28 18:09:05 UTC
I assume this is expected behaviour so I have logged it against documentation.
I set antiResourceLocking in the context.xml file for my application, I then
made some changes to a "running" JSP, expecting Tomcat to detect the changes and
re compile. Reading around I found that using antiResourceLocking causes tomcat
to copy the webapp to a temp folder. My guess is that the jsp file I am editing
in the webapps/app directory is no longer the one that tomcat is using, and
hence I see no changes. Probably should say this in the Context Reference
documentation.
Comment 1 Yoav Shapira 2005-11-28 20:48:50 UTC
You're right, will update documentation right now.
Comment 2 Yoav Shapira 2005-11-28 20:55:22 UTC
Fixed, thank you for reporting this.
Comment 3 Viktor Dyakur 2007-03-16 11:43:52 UTC
Is there any workaround? Thanks