Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Issue with unclosed resource resolver in OOTB scene7 Bundle

Avatar

Avatar
Coach
Community Advisor
Shashi_Mulugu
Community Advisor

Likes

248 likes

Total Posts

306 posts

Correct reply

68 solutions
Top badges earned
Coach
Contributor 2
Ignite 20
Give Back 200
Give Back 100
View profile

Avatar
Coach
Community Advisor
Shashi_Mulugu
Community Advisor

Likes

248 likes

Total Posts

306 posts

Correct reply

68 solutions
Top badges earned
Coach
Contributor 2
Ignite 20
Give Back 200
Give Back 100
View profile
Shashi_Mulugu
Community Advisor

14-10-2020

Hello Team,

 

We are using AEM 6.4.2 integrated with Dynamic Media. Here to fetch the URL of synced asset we are using com.day.cq.dam.s7dam.common.utils.PublishUtilsImpl.externalizeImageDeliveryAsset() by passing the resource object of the asset.

 

We are seeing the unclosed resource resolver issue in logs. Please suggest.

 

Any other way to fetch the DM published URL if not above?

 

I suspect that in "com.day.cq.dam.scene7.impl.Scene7AEMBridgeImpl" resourceresolver might not be closed after processing.

 

14.10.2020 02:20:14.950 *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.10.2020 02:20:14.950 *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:521) [org.apache.sling.resourceresolver:1.5.34]
at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.register(CommonResourceResolverFactoryImpl.java:218) [org.apache.sling.resourceresolver:1.5.34]
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:101) [org.apache.sling.resourceresolver:1.5.34]
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:94) [org.apache.sling.resourceresolver:1.5.34]
at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:263) [org.apache.sling.resourceresolver:1.5.34]
at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getServiceResourceResolver(ResourceResolverFactoryImpl.java:96) [org.apache.sling.resourceresolver:1.5.34]
at com.day.cq.dam.scene7.impl.Scene7AEMBridgeImpl.getServiceUserScopedConfigResolver(Scene7AEMBridgeImpl.java:188) [com.day.cq.dam.cq-dam-scene7:5.11.108]
at com.day.cq.dam.scene7.impl.Scene7AEMBridgeImpl.getS7configFromResource(Scene7AEMBridgeImpl.java:138) [com.day.cq.dam.cq-dam-scene7:5.11.108]
at com.day.cq.dam.scene7.impl.ImageUrlApiImpl.getImageServerDeliveryURL(ImageUrlApiImpl.java:113) [com.day.cq.dam.cq-dam-scene7:5.11.108]
at com.day.cq.dam.scene7.impl.ImageUrlApiImpl.getImageServerDeliveryURL(ImageUrlApiImpl.java:82) [com.day.cq.dam.cq-dam-scene7:5.11.108]
at com.day.cq.dam.s7dam.common.utils.PublishUtilsImpl.externalizeImageDeliveryAsset(PublishUtilsImpl.java:260) [com.day.cq.dam.cq-dam-s7dam:5.11.168]

 

@kautuk_sahni @vanegi @Jörg_Hoh @Arun_Patidar @dan_klco @hamidk92094312 

3 Comments

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,321 likes

Total Posts

3,294 posts

Correct reply

1,120 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,321 likes

Total Posts

3,294 posts

Correct reply

1,120 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

14-10-2020

Hi,

 

this is a known issue (it does not have any impact on stability), and it has been fixed with 6.4.8.2.

Avatar

Avatar
Give Back 200
Employee
hamidk92094312
Employee

Likes

106 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Give Back 200
Give Back 100
Contributor
Shape 1
Ignite 1
View profile

Avatar
Give Back 200
Employee
hamidk92094312
Employee

Likes

106 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Give Back 200
Give Back 100
Contributor
Shape 1
Ignite 1
View profile
hamidk92094312
Employee

14-10-2020

@Shashi_Mulugu 

For future reference please post questions to the appropriate section of the community. The "ideas" tab is specific for raising Request for Feature Enhancements (RFEs).

Avatar

Avatar
Give Back 200
Employee
hamidk92094312
Employee

Likes

106 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Give Back 200
Give Back 100
Contributor
Shape 1
Ignite 1
View profile

Avatar
Give Back 200
Employee
hamidk92094312
Employee

Likes

106 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Give Back 200
Give Back 100
Contributor
Shape 1
Ignite 1
View profile
hamidk92094312
Employee

16-12-2020

Updating the status accordingly since thee question in regards to the technical issues should be posted to the proper section of the community.

Status changed to: Declined