Enabling Anonymous Admin Server Lookup for MBeans

To give the MBean API read-only access to WebLogic Server MBeans, you must enable the anonymous admin lookup option.

About this task

To use Rule Execution Server with WebLogic Server, you must activate the Anonymous Admin Lookup Enabled option in WebLogic Server. This option provides the MBean API with read-only access to WebLogic Server MBeans. Registration of full Rule Execution Server management and XU MBeans requires this access.

If the Anonymous Admin Lookup Enabled option is disabled when you start the deployment of the management EAR file, the following exception is raised:
javax.naming.NoPermissionException: User <anonymous> does not have permission on weblogic.management.adminhome to perform lookup operation.
An exception is also raised when you start the deployment of the XU resource archive (RAR file).
These instructions explain how to verify or set the Anonymous Admin Lookup Enabled option through the WebLogic Server administration console. You can also use to command line to set the SecurityConfigurationMBean.AnonymousAdminLookupEnabled attribute:
-Dweblogic.management.anonymousAdminLookupEnabled=true

Procedure

To check or modify the anonymous admin lookup option:

  1. In the WebLogic Server Administration Console, on the Home Page, click Domain.
  2. In the Settings for <your_domain_name> page, click the Security tab.
  3. On the General page, select Anonymous Admin Lookup Enabled and click Save.
  4. Restart WebLogic Server.