My Oracle Support Banner

"Security Violation: User: 'nmsadmin' has insufficient permission to access EJB" after Adding New Security Roles and Groups (Doc ID 2031269.1)

Last updated on APRIL 04, 2024

Applies to:

Oracle Network Management for Utilities - DMS - Version 2.3.0.2.0 and later
Oracle Utilities Network Management System - Version 2.3.0.2.0 and later
Information in this document applies to any platform.

Symptoms

Updated to NMS 1.12.0.2.

Added required roles and groups as outlined in New Security Roles for NMS v1.12.0.2 (<Document 1999124.1>) document but seeing exceptions.

Exception is complaining about the nmsadmin user not having sufficient privileges.

The following java exception is in the weblogic managed server log.

Caused by: javax.ejb.EJBAccessException: [EJB:010160]Security Violation: User: 'nmsadmin' has insufficient permission to access EJB: type=<ejb>, application=cesejb#1.12.0.2.0, module=cesejb.jar, ejb=LoginEJB, method=isTrainingEnvironment, methodInterface=Local, signature={}.
       at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsBusiness(MethodDescriptor.java:581)
       at weblogic.ejb.container.internal.BaseLocalObject.checkMethodPermissions(BaseLocalObject.java:94)
       at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:277)
       ... 57 more
2015-06-25 14:31:09,008  WARN publish.CorbaPublisherService:307 - setOnline failed
javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke void com.splwg.oms.ejb.ValidateBusinessMethod.init(javax.interceptor.InvocationContext) on bean class class com.splwg.oms.ejb.ValidateBusinessMethod_h7hbiv_Impl with args: [com.oracle.pitchfork.intercept.InterceptionMetadata$LifecycleEventCallbackInvocationContext@62f552eb]; nested exception is: com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke void com.splwg.oms.ejb.ValidateBusinessMethod.init(javax.interceptor.InvocationContext) on bean class class com.splwg.oms.ejb.ValidateBusinessMethod_h7hbiv_Impl with args: [com.oracle.pitchfork.intercept.InterceptionMetadata$LifecycleEventCallbackInvocationContext@62f552eb]
com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke void com.splwg.oms.ejb.ValidateBusinessMethod.init(javax.interceptor.InvocationContext) on bean class class com.splwg.oms.ejb.ValidateBusinessMethod_h7hbiv_Impl with args: [com.oracle.pitchfork.intercept.InterceptionMetadata$LifecycleEventCallbackInvocationContext@62f552eb]
       at com.oracle.pitchfork.inject.Jsr250Metadata.invokeLifecycleMethod(Jsr250Metadata.java:334)
       at com.oracle.pitchfork.intercept.InterceptionMetadata.invokeLifecycleMethods(InterceptionMetadata.java:447)
       at com.oracle.pitchfork.intercept.InterceptionMetadata$AdvisorChainProxyControl.invokeLifecycleMet
 

 


The client log has this exception:

2015-04-08 18:35:54,368 [main] ERROR com.splwg.oms.client.BaseEnvironmentManager: checkServer failed java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy2.currentTime(Unknown Source) Caused by: java.lang.ClassNotFoundException: Failed to load class com.oracle.pitchfork.interfaces.LifecycleCallbackException at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:208)

 

Changes

Redeployed .ear file.

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


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