Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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