My Oracle Support Banner

"weblogic.management.NoAccessRuntimeException" Error when Running Custom MBean with User Belonging to Deployer Group in WebLogic Server (WLS) (Doc ID 1072478.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.0 and later
Information in this document applies to any platform.
***Checked for relevance on 4-May-2015***

Goal

When running a Custom MBean with a user who belongs to the deployer group, the application returns a disallowed error like the following:

2010-02-22 17:28:49, WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)': WorkFlowConnectorManager.execute: Monitor. Error running MBean de: weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[despliegue, Deployers], on ResourceType: CustomMBean Action: write, Target: managedServer
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at javax.management.remote.rmi.RMIConnectionImpl_1030_WLStub.setAttribute(Unknown Source)
at weblogic.management.remote.common.RMIConnectionWrapper$13.run(ClientProviderBase.java:642)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.RMIConnectionWrapper.setAttribute(ClientProviderBase.java:640)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.setAttribute(RMIConnector.java:921)
at com.gfi.webIntegrator.workflow.WorkFlowConnectorManager.imprimirMonitorizacion(WorkFlowConnectorManager.java:2845)

It seems that the deployers group, which the deployment user is in, does not have the appropriate permissions to write to the MBean.

Solution

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
Goal
Solution


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