Hi All,
Could you please help on this below issue.
error.log - the twitter feed scheduler is erroring out with the following exception and so does not retrieve twitter feed.
17.12.2021 13:10:00.001 ERROR [sling-default-4-com.adobe.acs.commons.twitter.impl.TwitterFeedScheduler.7881] com.adobe.acs.commons.twitter.impl.TwitterFeedScheduler Exception while running TwitterFeedScheduler.
org.apache.sling.api.resource.LoginException: Cannot derive user name for bundle com.adobe.acs.acs-aem-commons-bundle [627] and sub service twitter-updater
at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getServiceResourceResolver(ResourceResolverFactoryImpl.java:79) [org.apache.sling.resourceresolver:1.7.0]
at com.adobe.acs.commons.twitter.impl.TwitterFeedScheduler.run(TwitterFeedScheduler.java:73) [com.adobe.acs.acs-aem-commons-bundle:4.12.0]
at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:349) [org.apache.sling.commons.scheduler:2.7.12]
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @naveen123
This should be an issue with the service user of this service. Check this:
Related url: https://adobe-consulting-services.github.io/acs-aem-commons/features/social/twitter/index.html
Hope this helps.
Thanks,
Kiran Vedantam.
Hi @naveen123
This should be an issue with the service user of this service. Check this:
Related url: https://adobe-consulting-services.github.io/acs-aem-commons/features/social/twitter/index.html
Hope this helps.
Thanks,
Kiran Vedantam.
HI Kiran
Thank you so much for replying let me work on this. if any issues, i'll come back
Hi Kiran,
Still now this issue is not resolved and I have followed your document as well. But same issue i am getting.
Hi Justin,
Could you please help on this issue.
In AEM 6.2 twitter feed is working fine and AEM6.5 it is not working. AEM 6.2 we have separate bundle for Twitter. After in AEM 6.5 version they are using the twitter 4j 1.0.0 version.
@naveen123 this looks like a bug in ACS AEM Commons. If you look at https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/ui.apps/src/main/content/jc... the service user is defined in terms of the separate bundle. This should really be fixed in the project but is likely something you can address locally by providing your own ServiceUserMapperImpl configuration with the current bundle name.
I would suggest to raise an issue and pull request in the ACS AEM Commons project.
HI Justin,
Github ticket has been raised for this issue. Could you please check and let me know if any other info needed.
https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2777
@naveen123 this looks OK to me but I would really recommend submitting a tested pull request especially since you're obviously in a great position to test the fix.
Hi Justin,
I have created and Separate ServiceUserMapperImpl configuration for twitter4j which is used in AEM6.5 version as below.
Hi Justin,
Could you please help on this.
Views
Likes
Replies