This issue is related to http://jira.jboss.com/jira/browse/JBAS-3358
Jboss 4.0.5.GA now no longer deletes the work directory when an application is undeployed.
This causes many problems. For example if jsp's reference a static final constant this is not updated when the declaration of the constant is updated.
I would expect all compiled jsp's would be discarded on undeploy.
Is there a config setting for this?