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 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 generally 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
Publishing the Configuration publishing-the-configuration
While JSRP is the default configuration, to ensure the identical configuration is set in the publish environment:
-
On author:
-
From global navigation: Tools > Deployment > Replication
-
Select Activate Tree
-
Start Path:
- Browse to
/conf/global/settings/community/srpc/
- Browse to
-
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 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
- Does not contain an srpc node, it means 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 will only be 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 instructions for UGC Not Visible in JCR.
If a publish farm is deployed, a characteristic of JSRP is that community content will only be visible on the publish instance to which it was posted.
For UGC to be visible from any publish instance, a publish cluster is required.