My Oracle Support Banner

ESS-01099 : Java.lang.Exception: Oracle.as.scheduler.SchedulerUserAssertionException:Failed To Authenticate User (Doc ID 2277941.1)

Last updated on APRIL 09, 2024

Applies to:

Oracle Service Bus - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

java.lang.Exception: oracle.as.scheduler.SchedulerUserAssertionException:Failed to authenticate user

OSB domain extended with ESS and using weblogic user and when trying to submit the job request from EM console in ESS following errors was seen.

[2017-06-03T04:14:39.935+00:00] [ess_server1] [WARNING] [ESS-06102] [oracle.as.ess] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: <ecid>] [APP: ESSAPP] [partition-name: DOMAIN] [tenant-name: GLOBAL] An error occurred invoking the RuntimeService MBean.[[
oracle.as.scheduler.ValidationException: oracle.as.scheduler.SchedulerUserAssertionException: Failed to authenticate user [tenant=default,username=<username>].Please make sure <username> is a valid user or check server log to find more authentication details.
at oracle.as.scheduler.runtime.SubmitHelper.determineEnterpriseId(SubmitHelper.java:2635)
at oracle.as.scheduler.runtime.SubmitHelper.getEnterpriseId(SubmitHelper.java:2584)
at oracle.as.scheduler.runtime.SubmitHelper.retrieveMetadata(SubmitHelper.java:1329)
at oracle.as.scheduler.runtime.SubmitHelper.resolveMetadataSubmit(SubmitHelper.java:1028)
at oracle.as.scheduler.runtime.SubmitHelper.resolveSubmitInfo(SubmitHelper.java:358)
at oracle.as.scheduler.runtime.RuntimeImpl.submitRequestInternal(RuntimeImpl.java:1145)
at oracle.as.scheduler.runtime.RuntimeImpl.submitRequestAsCurrentUser(RuntimeImpl.java:1079)
at oracle.as.scheduler.runtime.RuntimeImpl.submitRequest(RuntimeImpl.java:923)
at oracle.as.scheduler.runtime.RuntimeServiceSecurityForwarder$1.run(RuntimeServiceSecurityForwarder.java:207)
at oracle.as.scheduler.runtime.RuntimeServiceSecurityForwarder$1.run(RuntimeServiceSecurityForwarder.java:200)
at oracle.as.scheduler.runtime.RuntimeServiceSecurityForwarder$52.run(RuntimeServiceSecurityForwarder.java:2018)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:70)
at oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:266)
at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:82)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:368)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:163)
at weblogic.security.Security.runAs(Security.java:61)
.....................................

at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused by: oracle.as.scheduler.SchedulerUserAssertionException: Failed to authenticate user [tenant=default,username=<username>].Please make sure <username> is a valid user or check server log to find more authentication details.
at oracle.as.scheduler.security.internal.DefaultCredentialProvider._getUser(DefaultCredentialProvider.java:637)
at oracle.as.scheduler.security.internal.DefaultCredentialProvider._lookupTenantIdFromIdStore(DefaultCredentialProvider.java:436)
at oracle.as.scheduler.security.internal.DefaultCredentialProvider.getEnterpriseId(DefaultCredentialProvider.java:707)
at oracle.as.scheduler.runtime.SubmitHelper.determineEnterpriseId(SubmitHelper.java:2631)
... 160 more
Caused by: oracle.igf.ids.EntityNotFoundException: Entity not found for the search filter (&(objectclass=person)(usernameattr=weblogic)).
at oracle.igf.ids.arisid.ArisIdServiceManager.findEntity(ArisIdServiceManager.java:1710)
at oracle.igf.ids.UserManager.searchUser(UserManager.java:176)
at oracle.as.scheduler.security.internal.DefaultCredentialProvider._getUser(DefaultCredentialProvider.java:621)
... 163 more
Caused by: oracle.igf.ids.arisid.ArisIdNoSuchSubjectException: Entity not found for the search filter (&(objectclass=person)(usernameattr=weblogic)).
at com.oracle.ovd.arisid.OvdIdsStackProvider.doFind(OvdIdsStackProvider.java:1302)
at com.oracle.ovd.arisid.ArisIdStackProvider.doFind(ArisIdStackProvider.java:172)
at org.openliberty.arisid.Interaction.doFind(Interaction.java:1022)
at oracle.igf.ids.arisid.ArisIdServiceManager.findEntity(ArisIdServiceManager.java:1617)
... 165 more

]]



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.