In EAP 6.1.0.ER6 it is possible to configure "DeleteWorkDirOnContextDestroy" via system property. e.g. using this CLI command: /system-property=org.jboss.as.web.deployment.DELETE_WORK_DIR_ONCONTEXTDESTROY:add(value=true) It would be better to make it configurable under web subsystem in jsp-configuration part as this is location where most of the stuff regarding jsp is set.