JSRP - JCR Storage Resource Provider jsrp-jcr-storage-resource-provider

About JSRP about-jsrp

When AEM Communities uses JSRP as its storage option (the default), community content is stored in the JCR, and user-generated content (UGC) is accessible only from the author or publish instance to which it was posted.

Because of the simplicity of deployment, JSRP is best suited for demonstration or development environments of one Publish instance and one Author instance.

See also Characteristics of SRP Options and Recommended Topologies.

Configuration configuration

Select JSRP select-jsrp

By default, JSRP is the storage option for UGC.

The Storage Configuration console allows for the selection of the default storage configuration, which identifies which implementation of SRP to use.

In the author environment, to reach the Storage Configuration console

  • From global navigation: Tools > Communities > Storage Configuration

  • Select JCR Storage Resource Provider (JSRP)

  • Select Submit

jsrp-configuration

Publishing the Configuration publishing-the-configuration

While JSRP is the default configuration, to ensure the identical configuration is set in the publish environment:

  • From global navigation: Tools > Deployment > Replication

  • Select Activate Tree > Start Path:

    • Browse to /conf/global/settings/community/srpc/
  • Select Activate

Managing User Data managing-user-data

For information regarding users, user profiles and user groups, often entered in the publish environment, visit:

Troubleshooting troubleshooting

UGC Not Visible in JCR ugc-not-visible-in-jcr

Make sure that JSRP has been configured to be the default provider by checking the configuration of the storage option. By default, the storage resource provider is JSRP.

On all Author and Publish AEM instances, revisit the Storage Configuration console, or check the AEM repository:

  • In JCR, if /conf/global/settings/community

    • It does not contain an srpc node, it means that the storage provider is JSRP.
    • If the srpc node exists and contains node defaultconfiguration, the defaultconfiguration’s properties should define JSRP to be the default provider.

UGC Not Visible on Author Instance ugc-not-visible-on-author-instance

This is not a bug. A characteristic of JSRP is that community content entered in the publish environment is only visible in the Publish environment.

UGC Not Visible on Publish Instance ugc-not-visible-on-publish-instance

If a single Publish instance or if a publish cluster is deployed, then follow the instructions for UGC Not Visible in JCR.

If a publish farm is deployed, a characteristic of JSRP is that community content is only visible on the Publish instance to which it was posted.

For UGC to be visible from any Publish instance, a publish cluster is required.

recommendation-more-help
81e2cd9d-0789-409d-b87c-2a8ce4f28791