Bug 1149987
| Summary: | jndiView operation from JConsole returns void | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Osamu Nagano <onagano> |
| Component: | Naming | Assignee: | emartins |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | 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: | |||
Verified on EAP 6.4.0.DR7. "jndiView" operation button dumps the output now. |
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.