This content has been marked as final.
Show 2 replies
-
1. Re: Jboss 5, Hot Re-Deployment, display old content, Work Di
jaikiran Dec 28, 2008 9:30 AM (in response to edill)However, once the content in the war file has changed and is copied over the old .WAR file, the original content is still displayed (much like it is storing it in cache).
What type of contents? JSP files?
-Modify and/or "Touching" the web.xml within the application I am trying to deploy.
* None of these trigger the refreshing of the "work" directory.
See if this similar discussion helps http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146078. I don't have my local JBoss setup (5.0 GA) in front me right now, so i can point you to the exact file which you might have to modify (the files have been moved to "deployers" folder in JBoss-5 i guess). But i guess, that post should atleast lead you in the right direction. Let us know if it doesn't. -
2. Re: Jboss 5, Hot Re-Deployment, display old content, Work Di
edill Dec 29, 2008 9:56 AM (in response to edill)jaikiran,
What type of contents? JSP files?
Yes, JSP files.
This discussion http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146078 solved my problem.
They did, in fact, change the file name and location of the DeleteWorkDirOnContextDestroy attribute in Jboss 5.0.0. It is now located in server\default\deployers\jbossweb.deployer\META-INF\war-deployers-jboss-beans.xml. Changing the attribute to "true" from the default "false" and making sure the date and time was correct on the server solves the problem.
Thank you so much for your response!