This content has been marked as final.
Show 2 replies
-
1. Re: JBoss EAP 6.4 - Stopped Deploying UPDATED JSP files
pjhavariotis Mar 17, 2016 1:56 AM (in response to jwhance)You can set the system property org.jboss.as.web.deployment.DELETE_WORK_DIR_ONCONTEXTDESTROY to true in order to delete the JSP cache on context destroy. By using this property, all .java and .class files are removed and the JSP sources are recompiled.
-
2. Re: JBoss EAP 6.4 - Stopped Deploying UPDATED JSP files
jwhance Mar 17, 2016 7:34 AM (in response to pjhavariotis)Thanks! That did the job... Another of those obscure properties buried in the release notes. Here is the text from: https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html/6.1.0_Release_Notes/ar01s06.html
Web
- 901061 - Need similar "DeleteWorkDirOnContextDestroy" configuration in EAP 6 Web Subsystem
JBoss Enterprise Application Platform 6 did not recompile source JSPs on redeployment unless they were newer than the associated java or class files. Earlier versions of JBoss Enterprise Application Platform 6 did not contain the code to remove the java and class files on undeployment. This meant that if a user attempted to restore sources from an older version of a webapp, the.javaand.classfiles were not removed which prevented the JSPs from being recompiled. The corresponding code has now been added to JBoss Enterprise Application Platform 6 and can be activated through the system propertyorg.jboss.as.web.deployment.DELETE_WORK_DIR_ONCONTEXTDESTROY. The default for this property isfalse. JBoss Enterprise Application Platform 6 users can now use this property to remove.javaand.classfiles to ensure that JSP sources are recompiled.