-
1. Re: Any configuration for caching of jsp's?
jleech Jun 13, 2006 1:34 PM (in response to tylerblack)The issue is Tomcat bug #33453: http://issues.apache.org/bugzilla/show_bug.cgi?id=33453
Also JBoss bug #JBAS-3081: http://jira.jboss.com/jira/browse/JBAS-3081?page=all
The mechanism used is a comparison of the timestamp of the .class file with that of the new .jsp file. Yes, it really does compare two totally unrelated things.
I have provided a patch for Tomcat, referenced in the first link above.
It is "fixed" in the Tomcat bundled with JBoss 4.04 by Tomcat always deleting the files in the /work directory. -
2. Re: Any configuration for caching of jsp's?
tylerblack Jun 14, 2006 11:56 AM (in response to tylerblack)Thanks for the info, jleech
-
3. Re: Any configuration for caching of jsp's?
tsangcn Jun 16, 2006 2:21 AM (in response to tylerblack)I think it is better to implement a new parameter (such as the keepgenerated in jbossweb-tomcat55.sar/conf/web.xml) to control whether to keep or delete the cache instead of just deleting all of time. I am developing application with an slower machine. I am happy with the caching of JSP. But when testing with JBoss4.0.4, I am not happy with its deleting of JSP cache such that every time I start JBoss and test my application, I have to wait for the compilation of every JSP pages. Its a wasting of my time!!!!!!!!
I STRONGLY reqeust for a parameter to control the caching of JSP.
Thanks
C. N. -
4. Re: Any configuration for caching of jsp's?
jleech Jun 20, 2006 12:47 PM (in response to tylerblack)I agree. This is a Tomcat "feature", perhaps it is configurable there? It makes me not want to upgrade from JBoss4.0.2.
"tsangcn" wrote:
I think it is better to implement a new parameter (such as the keepgenerated in jbossweb-tomcat55.sar/conf/web.xml) to control whether to keep or delete the cache instead of just deleting all of time. I am developing application with an slower machine. I am happy with the caching of JSP. But when testing with JBoss4.0.4, I am not happy with its deleting of JSP cache such that every time I start JBoss and test my application, I have to wait for the compilation of every JSP pages. Its a wasting of my time!!!!!!!!
I STRONGLY reqeust for a parameter to control the caching of JSP.
Thanks
C. N. -
5. Re: Any configuration for caching of jsp's?
kadebendu Aug 16, 2007 5:45 PM (in response to tylerblack)We are running 4.0.5.GA and are still seeing this problem. According to the JIRA issue, it's supposed to be fixed in that version.
Just to make sure it wasn't a configuration issue, I downloaded a fresh copy of 4.0.5.GA and deployed a dummy WAR file with a single JSP. The problem is still happening ... the /work directory is not being deleted on hot deploys.
Is anyone else still having this problem?