Cannot Get MBean Counters From Sitescope Using IIOP (Doc ID 856089.1)

Last updated on AUGUST 08, 2017

Applies to:

Oracle WebLogic Server - Version 9.2 and later
Information in this document applies to any platform.
***Checked for relevance on 1-Jun-2013***

Symptoms

When attempting to browse the MBeans with Sitescope, the following error occurs.

Cannot get mbean counters from sitescope using iiop

Enabled the IIOP user/pwd to be the same as the domain user/pwd and even then the sitescope errors out when it is trying to get counters, as if it is trying to connect with an anonymous user.

<Jun 24, 2009 1:51:33 PM PDT> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.corba.cos.naming.RootNamingContextImpl.resolve([Lorg.omg.CosNaming.NameComponent;)
org.omg.CORBA.NO_PERMISSION: User <anonymous> does not have permission on weblogic.management.mbeanservers to perform lookup operation. vmcid: 0x0 minor code: 0 completed: No
.
org.omg.CORBA.NO_PERMISSION: User <anonymous> does not have permission on weblogic.management.mbeanservers to perform lookup operation. vmcid: 0x0 minor code: 0 completed: No
at weblogic.corba.cos.naming.NamingContextImpl.throwNamingException(NamingContextImpl.java:509)
at weblogic.corba.cos.naming.NamingContextImpl.resolve(NamingContextImpl.java:169)
at weblogic.corba.cos.naming._NamingContextAnyImplBase._invoke(_NamingContextAnyImplBase.java:306)
at weblogic.corba.idl.CorbaServerRef.invoke(CorbaServerRef.java:244)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
Truncated. see log file for complete stacktrace
javax.naming.NoPermissionException: User <anonymous> does not have permission on weblogic.management.mbeanservers to perform lookup operation.

 

STEPS

The issue can be reproduced at will with the following steps:

  1. Configure Sitescope to access the WebLogic MBean.
  2. Disable anonymous access.

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms