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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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