Tuesday, June 12, 2007

WebLogic changed default for AnonymousAdminLookupEnabled in SP5 of WLS 8.1

If you suddenly, after a service pack upgrade, start getting the error:

User: '' has insufficient permission?

In you weblogic deployed application when accessing the WebLogic MBeans, you should be aware that BEA changed the default value for the AnonymousAdminLookupEnabled attribute in SP5 of WebLogic 8.1.

Prior to SP5, the default was true, allowing lookup of the MBeans in JNDI with the anonymous user. From SP5 and ahead, the default is false.

Either put a login in the InitialContext or edit your config.xml to read:
AnonymousAdminLookupEnabled="true" ...

Currently, the docs are still documenting it to have a default of true.

No comments: