Unable to create resource named servlets in /bin | Community
Skip to main content
Level 3
June 15, 2022
Solved

Unable to create resource named servlets in /bin

  • June 15, 2022
  • 3 replies
  • 4114 views

Hi all, I created a registration form in my AEM Author instance which registers user in home/users using AEM Form Components. This form works fine in the AEM Author instance but when I checked my AEM Publish instance the users are not replicated in it. Also using the same form I am not able to create new users in AEM Publish instance.

 

In my error logs I get this error: 

org.apache.sling.api.resource.PersistenceException: Unable to create node at /bin/servlets
 
Also in my Networks tab in the chrome console the form username field is showing incorrect even though I have published content on the Publish instance.
 
I want to know how can this error be resloved and also how to replicate the users created in AEM Author instance to AEM Publish.
 
Thanks in advance
Jamhavi
 
 
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 digarg17

If your servlet path is /bin/servlets then you need to update the dispatcher rule for publish env as below:

Filter rule needs update if not done already as it might be blocking.

{ /type "allow" /method "GET" /url "/bin/servlets*" } in filter.any

3 replies

Pallavi_Shukla_
Community Advisor
Community Advisor
June 15, 2022

hi @janhavi_singh 

did you check below configuration settings in publish instance 

 

Check below link for replication of users/groups from author to publish - 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-replicate-users-and-groups-from-author-to-publisher/m-p/281395

Level 3
June 15, 2022

I will check that. Thank you

digarg17Adobe EmployeeAccepted solution
Adobe Employee
June 15, 2022

If your servlet path is /bin/servlets then you need to update the dispatcher rule for publish env as below:

Filter rule needs update if not done already as it might be blocking.

{ /type "allow" /method "GET" /url "/bin/servlets*" } in filter.any

shabarish
Level 2
June 15, 2022