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.]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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.]
via jboss.org by Unknown author, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCreationException]
via Oracle Community by 807573, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: Could not initialize class com.thortech.xl.cache.CacheUtil]
via jboss.org by Unknown author, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCreationException]
via Oracle Community by User9117887-Oracle, 1 year ago
Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: Could not initialize class com.thortech.xl.cache.CacheUtil]
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)

Users with the same issue

Once, 2 months ago
6 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.