I have XPM configured and can see temporary files being created on the filesystem and also session items being created in the session preview DB. After some time, the items get cleaned up from the DB table(s), but the sessionpreview-files remain on the filesystem. I have already checked question How can I get Experience Manager Session Preview temporary files to be tidied up?, but no luck there.

My questions are:
1. which process/service should clean up the temporary previewsession-files on the filesystem? As I see it, the web.xml contains a SessionManagementContextListener that gets invoked on session expiration, and should remove the file(s)?
2. any ideas about the probable cause of this issue?

  • Are your files located inside the document root of the web application? Could it be a permission problem?
    – Quirijn
    Feb 12 '15 at 10:14
  • Hi Quirijn, the files are outside the document root, and so I added a filter to set the claim store WebClaims.REQUEST_ROOT_PATH in order to make path resolution work. See my previous post about this issue tridion.stackexchange.com/questions/9641/…
    – Para Jaco
    Feb 12 '15 at 10:28
  • Are you setting the real_path, root_path and other claims as described in that post? Also, what does your cd_core log have to say?
    – Quirijn
    Feb 12 '15 at 10:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.