AEM 6.3.3 | Error while saving using session.save() | Community
Skip to main content
rawvarun
New Participant
Jan 27, 2019 6:32 PM UTC
Solved

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

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.
joerghoh
joerghohAccepted solution
Employee
Feb 3, 2019 5:49 PM UTC

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
Jan 29, 2019 9:40 AM UTC

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

Translate
rawvarun
rawvarunAuthor
New Participant
Jan 28, 2019 2:33 PM UTC

@Veena_07

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

then setting user properties.

Translate
VeenaVikraman
New Participant
Jan 28, 2019 9:00 AM UTC

What kind of node are you trying to save ?

Translate