Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1149987

Summary: jndiView operation from JConsole returns void
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Osamu Nagano <onagano>
Component: NamingAssignee: emartins
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: kkhan, myarboro, pkremens
Target Milestone: DR7   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Osamu Nagano 2014-10-07 06:57:26 UTC
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.

Comment 2 Petr Kremensky 2014-11-04 08:41:00 UTC
Verified on EAP 6.4.0.DR7.

"jndiView" operation button dumps the output now.