Bugs item #568605, was opened at 2002-06-13 10:43 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=568605&group_id=22866
Category: CatalinaBundle Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Brian Law (ecowalker) Assigned to: Scott M Stark (starksm) Summary: Jboss 3.0 unclean un-deployment Initial Comment: I am using JBoss 3.0 release with Tomcat 4.0.3 I've create a WAR which both a Servlet and JSP read a static final String from a Constants.class. When I update the value for the String and re-deploy (or even del the war in the deploy dir , shutdown, startup and copy the war into deploy again) The JSP and Servlet still read out the old values instead of new ones. The JSP and Servlet would read the new one unless the timestamp of the JSP or the Servlet class has been updated Enclosing are the src code to demonstrate the bug. ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2002-06-13 22:53 Message: Logged In: YES user_id=175228 The timestamps of the jsp files are not changing and when catalina unarchives the new deployment into its work directory there is no reason to recompile the jsp page even though the Constants class is updated. Since the constant being used is static final the string is simply embeded into the jsp servlet at compilation and the new class is never used. I have added a DeleteWorkDirs attribute to force the removal of the working directory on undeployment to force all war jsp pages to be recompiled. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=568605&group_id=22866 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
