Description of problem: When I press "jndiView" operation button (navigate jboss.as / naming / Operations in MBeans tab of JConsole), an info dialog box returns with message "Method successfully invoked". The contents of JNDI view is not printed anywhere. It should return that as String or dump the contents into stdout. While the following code returns the contents properly. ~~~ ObjectName objectName = new ObjectName("jboss.as:subsystem=naming"); String operationName = "jndiView"; String view = (String) connection.invoke(objectName,operationName, null, null); ~~~ Additional info: The same issue exists in the upstream project as well.
Verified on EAP 6.4.0.DR7. "jndiView" operation button dumps the output now.