'No such operation' Exception When Invoking Mbean Operation (Doc ID 1362622.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

 

With 8.1 Weblogic Server,  a  MBean operation, which returns an array of String, can be invoked  by using a call to MBeanServer.invoke()  method .
The Mbean operation method  has this signature:

public String[] getAllObjectNames()


With 10.3.4 Weblogic Server,  when invoking this operation  an exception ('No such operation' ) occurs  :

####<26.09.2011 15:18 Uhr MESZ> <Error> <netuix> <dempnr00191> <admin_server> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <> <1317043087056> <BEA-423405> <An exception [javax.management.ReflectionException: No such operation: getAllObjectNames] was thrown while rendering the content at [/cachemanager.jsp].
javax.servlet.ServletException: javax.management.ReflectionException: No such operation: getAllObjectNames
at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417)
at jsp_servlet.__cachemanager._jspService(__cachemanager.java:138)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

Changes

Upgrade from 8.1 to 10.3.x

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