April 22, 2020
Estimated Post Reading Time ~

How to find the current run mode of working AEM instance

Statement - Find the current run mode
Environment - AEM 6.3 GA

Solution:
The fastest way to retrieve all active run modes that are enabled within a running AEM instance would be from the OSGI console, Apache Sling Settings.

Follow below two simple steps below:
  1. Log in to AEM as an admin or a user who has access to the OSGI console using this URL: http://localhost:4502/crx/de/index.jsp
  2. Navigate to the Apache Sling Settings OSGI console page http://localhost:4502/system/console/status-slingsettings
see the below current run mode details of AEM instanceApache Sling Settings
Apache Sling Settings

Sling ID = a53fdbf0-288e-4629-8597-40e125f87237
Sling Name = Instance a53fdbf0-288e-4629-8597-40e125f87237
Sling Description = Instance with id a53fdbf0-288e-4629-8597-40e125f87237 and run modes 
[s7connect, crx3, author, samplecontent, crx3tar]
Sling Home = /Users/aem4beginner/Desktop/AEM6.5/author/crx-quickstart
Sling Home URL = file:/Users/aem4beginner/Desktop/AEM6.5/author/crx-quickstart/
Run Modes = [s7connect, crx3, author, samplecontent, crx3tar]
The active AEM run modes here are: “local-local”, “s7connect”, “crx3”, “author”, “samplecontent”, “local”, “crx3tar:

Properties Breakdown
  • Sling ID: A unique identifier of the running Sling instance. This value is created when Sling is first started and may be used to identify the instance, for example if multiple Sling instances are running on top of a Jackrabbit Repository Cluster.
  • Sling Home: The absolute filesystem path to the directory where Sling stores all its content.
  • Sling Home URL: The Sling Home path as a java.net.URL instance.
  • Run Modes: The active Run Modes of the running Sling instance.



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.