AEM 6.3.3 | Error while saving using session.save() | Community
Skip to main content
rawvarun
New Participant
January 27, 2019
Solved

AEM 6.3.3 | Error while saving using session.save()

  • January 27, 2019
  • 13 replies
  • 5189 views

Hi All,

I'm using Service User Mapper configuration as well as using the corresponding code for the same.

Also, provided the full permission to my system user.

Still i'm getting Access Denied.

javax.jcr.AccessDeniedException: OakAccess0000: Access denied

at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:231)

at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:670)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.save(SessionDelegate.java:496)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.performVoid(SessionImpl.java:419)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:274)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.save(SessionImpl.java:416)

at com.adobe.granite.repository.impl.CRX3SessionImpl.save(CRX3SessionImpl.java:208)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Looks like your serviceUser does not have permissions to create users; make sure that the service user has permissions to create and modify nodes below /home/users.

13 replies

VeenaVikraman
New Participant
January 29, 2019

Does that mean even the system user creation is done programmatically here ? If so , did you use createUser method or createSystemUser ?

rawvarun
rawvarunAuthor
New Participant
January 28, 2019

@Veena_07

I have created user via createuser method (i.e. UserManager ("The Adobe AEM Quickstart and Web Application.") ).

then setting user properties.

VeenaVikraman
New Participant
January 28, 2019

What kind of node are you trying to save ?