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
.java
and.class
files 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.java
and.class
files to ensure that JSP sources are recompiled.