CQ5 Tip: Confirming the Runmode

When using CQ5 quickstart, it’s easy to know what runmode you’re using, as it’s defined by the jar file name itself – eg; cq-author-4502.jar. But if you use the start/stop scripts and want to confirm they are configured correctly, or are using a CQ5 instance that has been previously started by someone else, you might want to be 100% sure of the runmode(s) that CQ5 is operating in. The easiest way to do this is through the OSGi console.

CQ5.5

  1. Open the OSGi console and click the Configuration Status button (or navigate directly to http://SERVER:PORT/system/console/config)
  2. Traverse through the tabs with the >> link on the right, and select the Sling Settings tab
  3. Confirm the runmodes

CQ5.5 Sling Settings

AEM (CQ5.6)

  1. Open the OSGi console and navigate to Main > OSGi > Sling > Web Console > Configuration Status (or navigate directly to http://SERVER:PORT/system/console/config)
  2. Traverse through the tabs with the >> link on the right, and select the Sling Settings tab
  3. Confirm the runmodes

AEM Sling Settings

This entry was posted in AEM, CQ5 and tagged , , , , . Bookmark the permalink.

5 Responses to CQ5 Tip: Confirming the Runmode

  1. Pingback: AEM Best Practice: OSGi Configurations | Code Monkey

  2. Aleks says:

    AEM (CQ5.6.1)

    1) Open the OSGi console and navigate to Status > System properties (or navigate directly to http://SERVER:PORT/system/console/status-System%20Properties)
    2) Confirm the runmodes

  3. Daniel Aronson says:

    Jason, the same also applies for AEM 6

  4. Ken Bloom says:

    Also we are able to know runmode in code, it can be useful if we create some components with different behavior for both modes. It’s described here, on StackOverflow: http://stackoverflow.com/questions/12245751/determine-runmode-in-adobe-cq

Add a comment...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s