Hide Forgot
project_key: JBEPP 1) Configure EPP 5.2.0.DEV03 - use MySQL database. Configure datasource in server/default/deploy/gatein-ds.xml to use MySQL (local-tx-datasource used for both IDM and JCR as this is default datasource type in EPP 5.2) - use gatein.data.dir=/tmp/gatein in server/default/conf/gatein/configuration.properties 2) Start EPP 5.2 . now it starts correctly without problem. Then stop it. 3) Delete data directory /tmp/gatein 4) Start EPP 5.2 again. Now I am seeing exception during indexation (See stacktrace in attachement) I did not investigate deeper and I am not sure if this scenario is expected to work, but it is working with EPP 5.1 but now it starting to fail with EPP 5.2.
Attachment: Added: exception-indexing.txt
Linking this issue with JBEPP-1143. Maybe it's not related as exception stacktrace is different, but scenario to reproduce is quite similar.
Link: Added: This issue relates to JBEPP-1143
From the attached stack trace: Caused by: java.io.FileNotFoundException: /tmp/gatein/jcr/values/portal-system/2/9/2/e/f/5/c/87f00000100cffeb560c19a0d/292ef5c87f00000100cffeb560c19a0d0 (No such file or directory) I've seen similar problems with EPP 5.1 after deleting the complete ${gatein.data.dir} directory. Binary content (such as gadgets) is stored in this location - or underneath ${gatein.jcr.storage.data.dir} to be precise -, so you should not delete it. If a forced index re-creation is required, only delete the ${gatein.jcr.index.data.dir} directory.
Thanks Martin. I can confirm that delete only index data dir and left storage data dir is reindexation working. Scenario which I described is working fine in EPP 5.1.1 but with EPP 5.1.1 it's failing when I am trying to add some gadget into dashboard page. Anyway, seems that this jira can be closed.
Release Notes Docs Status: Added: Not Required