Issue after offline compaction via the Oak-run tool | Community
Skip to main content
October 16, 2015
Solved

Issue after offline compaction via the Oak-run tool

  • October 16, 2015
  • 1 reply
  • 913 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ogill

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

1 reply

ogillAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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