Bug 1149987 - jndiView operation from JConsole returns void
Summary: jndiView operation from JConsole returns void
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Naming
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR7
: EAP 6.4.0
Assignee: emartins
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-07 06:57 UTC by Osamu Nagano
Modified: 2019-08-19 12:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-3939 0 Major Open jndiView operation from JConsole returns void 2014-10-07 06:57:26 UTC
Red Hat Knowledge Base (Solution) 1218773 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.