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.

org.apache.jackrabbit.oak.jcr.session.ItemImpl Item#refresh invokes Session#refresh

Avatar

Level 2

Hello,

Checking the error.log that AEM uses, we found the following warning:

error.log:19.10.2016 08:38:23.257 *WARN* [172.19.51.17 [1476434301122] POST /content/phonegap/ambassador-app/main/jcr:content/pge-app/app-config.activateZips.json HTTP/1.1] org.apache.jackrabbit.oak.jcr.session.ItemImpl Item#refresh invokes Session#refresh!

No stacktrace was logged, so we do not have enough information to determine what is the root cause.

Does anyone have any insights about it?

It seems that happens when we try to "Stage Updates".

Regards.

2 Replies

Avatar

Employee Advisor

Hi,

This is just a warning, that at some code "node.refresh()" is used instead of "session.refresh()", which has the same semantic (but is obviously deprecated, although not mentioned in the JCR 2.0 specification). So nothing to worry about.

Jörg

Avatar

Level 9

Hi Jorg,

isn't a costly operation in AEM 6.1 with new Apache OAK?

--

Jitendra