Error "The run-as security principal <USERNAME> chosen for the EJB 'MobileBean(Application: nms-ws, EJBComponent: admin.jar)' is not a valid user principal in the current security realm" When Deploying nms-ws.ear
(Doc ID 2706544.1)
Last updated on JUNE 05, 2024
Applies to:
Oracle Utilities Network Management System - Version 2.3.0.2.0 and laterOracle Network Management for Utilities - DMS - Version 2.3.0.2.0 and later
Information in this document applies to any platform.
Symptoms
On : 2.3.0.2.0 version, Installation
When attempting to deploy the nms-ws.ear, it fails with this error:
####<Jul 10, 2020 9:51:39,207 AM EDT> <Info> <EJB> <[MANAGED SERVER NAME]> <HOSTNAME> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <
The run-as security principal, '<USER_NAME>', chosen for the EJB 'MobileBean(Application: nms-ws, EJBComponent: admin.jar)' is not a valid user principal in the current security realm. Please specify a valid user principal for the EJB to use.
at weblogic.ejb.container.deployer.BeanInfoImpl.calculateRunAsPrincipal(BeanInfoImpl.java:844)
at weblogic.ejb.container.deployer.BeanInfoImpl.prepare(BeanInfoImpl.java:779)
The issue can be reproduced at will with the following steps:
- Set the user name for the nms-ws.ear to a valid LDAP user.
- Specify two authenticators.
- Ensure the first authenticator cannot be contacted (i.e. it is not valid)
- Set the Control Flag for the first authenticator to REQUIRED
- Set the Control Flag for the second authenticator to SUFFICIENT.
- Attempt to deploy the nms-ws.ear file, it will fail.
- Change the Control Flag for the first authenticator to SUFFICIENT
- Attempt to deploy the nms-ws.ear file, it will succeed.
Changes
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 |
Changes |
Cause |
Solution |
References |