Bug 37668 - antiResourceLocking stops JSP reloading
Summary: antiResourceLocking stops JSP reloading
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Webapps:Documentation (show other bugs)
Version: 5.5.9
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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