Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

livefyre and social packges are reinstalled during aem 6.5.7 restart

Avatar

Level 1

Hi,

We observed the below listed packages are uploaded and reinstalled automatically during restart of AEM 6.5.7 and we are not using any of the social community related functionalities in our application. We had checked install folder under crx-quickstart and dont seeing any of the below. Would need help on finding config that is triggering these packages upload & reinstall or any other ways to disable it. 

cq-social-jcr-provider-pkg-1.4.10
cq-social-livefyre-pkg-2.2.10
cq-social-rdb-provider-pkg-1.3.14
cq-social-notifications-pkg-1.3.16

 

Currently this not impacting any of our application functionality but we keep seeing this error in log. 

 

14.04.2021 03:33:43.031 *WARN* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Closed unclosed ResourceResolver. The creation stacktrace is available on info log level.
14.04.2021 03:33:43.031 *INFO* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Unclosed ResourceResolver was created here:
java.lang.Exception: Opening Stacktrace
at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl$ResolverReference.<init>(CommonResourceResolverFactoryImpl.java:540)
at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.register(CommonResourceResolverFactoryImpl.java:235)
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:105)
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:98)
at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:280)
at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getServiceResourceResolver(ResourceResolverFactoryImpl.java:89)
at com.adobe.cq.social.serviceusers.internal.impl.ServiceUserWrapperImpl.getServiceResourceResolver(ServiceUserWrapperImpl.java:170)
at com.adobe.social.integrations.livefyre.livefyreAssetImporter.impl.LivefyreRightsRequestPoller.getServiceResolvers(LivefyreRightsRequestPoller.java:411)
at com.adobe.social.integrations.livefyre.livefyreAssetImporter.impl.LivefyreRightsRequestPoller.importData(LivefyreRightsRequestPoller.java:132)
at com.day.cq.polling.importer.impl.PollingImporterImpl.importData(PollingImporterImpl.java:546)
at com.day.cq.polling.importer.impl.PollingImporterImpl.access$000(PollingImporterImpl.java:72)
at com.day.cq.polling.importer.impl.PollingImporterImpl$1.run(PollingImporterImpl.java:448)
at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:349)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
14.04.2021 03:33:43.033 *INFO* [Apache Sling Resource Resolver Finalizer Thread] com.adobe.granite.repository Service [8030, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent UNREGISTERING
14.04.2021 03:33:43.034 *WARN* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Closed unclosed ResourceResolver. The creation stacktrace is available on info log level.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Sudharsan_S,

The packages that you have listed are available OOTB in AEM 6.5.0 as well. It is reinstalled during restart as it might have had any updates/enhancements from Service pack. 

Regarding the WARN/Info messages, it is about the Unclosed Resource Resolvers from Communities related Java classes. You are seeing it now after Service pack installation is because, "Logging for Unclosed Resource Resolver" setting might have been enabled by default in recent release. 

Below is the screenshot of the Resource Resolver Factory OSGI config from my AEM 6.5.0 instance: (It is not logged by default here)

Vijayalakshmi_S_0-1619187279261.png

It is not an impact to your application. Not sure of the roadmap for the fix, Perhaps you can raise Day care ticket with details. 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Sudharsan_S,

The packages that you have listed are available OOTB in AEM 6.5.0 as well. It is reinstalled during restart as it might have had any updates/enhancements from Service pack. 

Regarding the WARN/Info messages, it is about the Unclosed Resource Resolvers from Communities related Java classes. You are seeing it now after Service pack installation is because, "Logging for Unclosed Resource Resolver" setting might have been enabled by default in recent release. 

Below is the screenshot of the Resource Resolver Factory OSGI config from my AEM 6.5.0 instance: (It is not logged by default here)

Vijayalakshmi_S_0-1619187279261.png

It is not an impact to your application. Not sure of the roadmap for the fix, Perhaps you can raise Day care ticket with details. 

Avatar

Level 1

Hi @Vijayalakshmi_S,

Thanks for your response. If you say Service pack has updates to listed package then it shouldn't be appear during restart if i explicitly install manually once but thats not happening here. Everytime when i restart AEM, i see these packages listed on top of package manager console.