AccessTokenCleanupTask

Avatar

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
asultanuddin_me
Level 1

15-11-2018

Does anyone know what is the reason for this error.

15.11.2018 03:07:23.000 *ERROR* [sling-default-199-Registered Service.1444] com.adobe.granite.oauth.server.impl.AccessTokenCleanupTask AccessTokenCleanupTask: General failure while trying to cleanup tokens

javax.jcr.LoginException: Cannot derive user name for bundle com.adobe.granite.oauth.server [149] and sub service null

        at org.apache.sling.jcr.base.AbstractSlingRepository2.loginService(AbstractSlingRepository2.java:311)

        at com.adobe.granite.oauth.server.impl.AccessTokenCleanupTask.cleanup(AccessTokenCleanupTask.java:116)

        at com.adobe.granite.oauth.server.impl.AccessTokenCleanupTask.run(AccessTokenCleanupTask.java:104)

        at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:118)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:748)

TIA

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

15-11-2018

What were you doing when you saw this issue?

Avatar

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
asultanuddin_me
Level 1

15-11-2018

I do not even know what triggered this. This is running as a scheduler on its own. Could this be due to any permissions issue on a built-in system user?

Avatar

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
asultanuddin_me
Level 1

16-11-2018

Can someone help please?

Avatar

Avatar
Give Back 5
Employee
shunnar
Employee

Likes

12 likes

Total Posts

46 posts

Correct reply

10 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
shunnar
Employee

Likes

12 likes

Total Posts

46 posts

Correct reply

10 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
shunnar
Employee

16-11-2018

Are you using oAuth in your system for login? If not, then you do not need to have this cleanup task enabled. To disable it go to HOST:PORT/system/console/components and find "com.adobe.granite.oauth.server.impl.AccessTokenCleanupTask" and stop it

Avatar

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
asultanuddin_me
Level 1

20-11-2018

By default this component is active, so why it is giving an error in some environments and not others. Any idea?

Avatar

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile

Avatar
Give Back 3
Level 1
asultanuddin_me
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
asultanuddin_me
Level 1

20-11-2018

we are not using Oauth for login.

Avatar

Avatar
Give Back 5
Employee
shunnar
Employee

Likes

12 likes

Total Posts

46 posts

Correct reply

10 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
shunnar
Employee

Likes

12 likes

Total Posts

46 posts

Correct reply

10 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
shunnar
Employee

27-11-2018

It seems that this server has a missing Service User Mapping that is affecting this task. You can either turn the component off, or you can compare the list of service user mappings in configMgr to the one in the server that doesn't have the issue and make sure any missing mapping is created on the faulty server