org.quartz.SchedulerException

Job threw an unhandled exception. [See nested exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web717

  • via JIRA by Yannick Marcon, 1 year ago
    Job threw an unhandled exception. [See nested exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.]
  • via JIRA by Yannick Marcon, 1 year ago
    Job threw an unhandled exception. [See nested exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.]
  • Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: Value should be of type Comparable.]
  • Stack trace

    • org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens. at org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts(AtLeastOneSuccessfulStrategy.java:54) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:232) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:266) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.getSubject(QuartzCommandJob.java:80) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.execute(QuartzCommandJob.java:59) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) ... 1 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 1 year ago