Bug 37668 - antiResourceLocking stops JSP reloading
antiResourceLocking stops JSP reloading
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Webapps:Documentation
5.5.9
All All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-11-28 18:09 UTC by Chris Barran
Modified: 2007-03-16 11:43 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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