Expand my Community achievements bar.

SOLVED

Issue after offline compaction via the Oak-run tool

Avatar

Level 1
Level 1

Hello All,

I've done the compaction on aem 6 according manual from http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/microkernels-in-aem-6-0.html.

I've used oak-run-1.0.13.jar.

  Please find steps below:

1.Shut down AEM.

2. java -jar oak-run.jar checkpoints install-folder/crx-quickstart/repository/segmentstore

3. java -jar oak-run.jar checkpoints install-folder/crx-quickstart/repository/segmentstore rm-unreferenced

4. java -jar oak-run.jar compact install-folder/crx-quickstart/repository/segmentstore

After compaction i can not start aem with oak exeption:

21.07.2015 12:00:48.913 ERROR [FelixStartLevel] org.apache.jackrabbit.oak-core [org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService(46)] The activate method has thrown an exception (java.lang.IllegalStateException)
java.lang.IllegalStateException: null
 at com.google.common.base.Preconditions.checkState(Preconditions.java:134)

I would be grateful if you could help with resolving this issue.

Thank you

Best wishes,

Natallia

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Natalia,

There was a knowledge base article on using compaction with AEM 6[1]. You need SP2 and the hot-fixes mentioned in the articel below.

Regards,

Opkar

[1] https://helpx.adobe.com/experience-manager/kb/AEM_6_TarMK_Online_Compaction.html

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi Natalia,

There was a knowledge base article on using compaction with AEM 6[1]. You need SP2 and the hot-fixes mentioned in the articel below.

Regards,

Opkar

[1] https://helpx.adobe.com/experience-manager/kb/AEM_6_TarMK_Online_Compaction.html