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

AEM 6.4 /api/screens-dcc/devices/stati WARNING

ronnyfm
Level 4
Level 4
28.02.2019 12:46:00.026 *WARN* [127.0.0.1 [1551375960022] GET /api/screens-dcc/devices/stati HTTP/1.1] com.adobe.granite.rest.impl.ResourceAdapterFactory Unable to handle adaptable com.adobe.cq.screens.impl.rest.DevicesStatiResource

Hi, does someone know how to get rid of this message?

7 Replies
vaibhavs7024655
Level 3
Level 3

Hi ronnyfm

I believe the WARN message is displayed as soon as a screens replication agent is enabled and polling from author to publish begins. This seems to be a minor bug which is being reported to AEM Engineering already and is being worked upon.

If you're seeing a lot of them you can probably route them to a different log file by creating a separate logger to avoid clutter in the main log file.

ClintLundmark
Level 3
Level 3

If Screens is not being used, a work around is to change the Author to Publish polling schedule so it occurs very infrequently. Create an OSGI Configuration on com.adobe.cq.screens.impl.jobs.DistributedDevicesStatiUpdateJob that changes the schedule to something like 0 0 1 1 * ? - which would amount to once a year on January 1st.

Jörg_Hoh
Employee
Employee

This workaround will just silence this message:

Set the loglevel for the class "com.adobe.granite.rest.impl.ResourceAdapterFactory" to ERROR.

Jörg_Hoh
Employee
Employee

That warning can be ignored. It's going to be fixed with a recent SP of AEM 6.4 (maybe already included in 6.4.3, haven't checked).

Jörg

koenve
Level 3
Level 3

Can confirm this is still an issue in AEM 6.4.3 (still have to check with 6.4.4). Thanks for the workaround though, we'll implement that in the meantime