How to configure an OSGi service before starting an AEM instance

  1. Unpack AEM by running the following command.
    java –jar cq-quickstart-6.jar -unpack
  2. Create a folder named crx-quickstart\install in the installation directory.
  3. Create a file with the name <service pid>.cfg. [From AEM 6.0 this should be .config] For example – org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg in the newly created folder.
  4. Edit the file and set the configuration options line by line.
    For example – tarmk.size=256MB

Leave a Reply

Your email address will not be published. Required fields are marked *