Skip to Content
Jul 09, 2018 at 11:29 AM

Unable to delete file webfragmentCore_XSSFilter.jar (JRebel)


Hi experts.

I have JRebel installed and I'm trying to rebuild hybris without restarting the server (which takes quite a long time). Sometimes it works and the files are reloaded but most of the time it fails saying

Unable to delete file ...\hybris\bin\ext-backoffice\backoffice\web\webroot\WEB-INF\lib\webfragmentCore_XSSFilter.jar

This is indeed the case as the files are locked by java process:

alt text

I wonder is there any workaround for this? Since those are backoffice files I wonder if they are locked only when you visit backoffice.