Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hi All
I have an exact same problem as mentioned here org.apache.sling.api.resource.LoginException: Cannot derive user name for bundle com.mycompany.core ... . So for this long time I used to go directly to the Felix console and add the Service User details in the Apache Sling Service User Mapper
So the problem I face is :- I am trying to create a config node for org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl in my project . All the values are reflecting fine in the config when I check . But still it throws me the above error.
But if I go directly to the felix and add the value directly as I used to before , it just works perfect. Have someone face the same issue before ?
Why I cannot go and edit directly in felix console ? - > So the CSE who does our deployments won't be making any changes in the felix console directly. Anything we need to deploy should be deployed as config nodes. And for some reason , even though the config values are reflecting in the felix console, it always throw me the above error.
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
I am not able to replicate this now . I did a restart of the server and seems like my config values are getting picked
Zugriffe
Antworten
Likes gesamt
CSE is right, as part of the deployment, its always good have config present in deployment package rather making changes in Felix console which eventually gets stored in /apps/system/config.
I would recommend using Ensure Service User from ACS Commons, it takes care of service user deployment with code package
Thanks
Zugriffe
Antworten
Likes gesamt
edubey But my issue is different here. I am trying to set the Apache Sling Service User Mapper Configuration as a config value in my project.
Zugriffe
Antworten
Likes gesamt
Can you show code where error is thrown?
Zugriffe
Antworten
Likes gesamt
Ya scott. I am trying to draft this down neatly to give you all more insight on my issue. I need to get a sample code setup as I cannot share the one which I am currently working on.
Zugriffe
Antworten
Likes gesamt
I am not able to replicate this now . I did a restart of the server and seems like my config values are getting picked
Zugriffe
Antworten
Likes gesamt
I am glad its picking up the values. I have not seen that before.
Zugriffe
Antworten
Likes gesamt
Can you please give us more info on this
- Will it automatically create system user or we need to do it form the same old crx/explorer ?? Is system user=principal name?
-The ACE's added, will they automatically take care of permissions so that we no need to change anything from user admin?
Please add anything you want to inform on this
TIA
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten