Bug 994717

Summary: Accessing SwitchYard mbeans via jconsole - operations are blocked - operation names are garbled
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Len DiMaggio <ldimaggi>
Component: SwitchYardAssignee: Keith Babo <kbabo>
Status: CLOSED NOTABUG QA Contact: Jiri Sedlacek <jsedlace>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: kbabo, oskutka, soa-p-jira
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-15 15:46:54 UTC 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:
Attachments:
Description Flags
Screenshot none

Description Len DiMaggio 2013-08-07 20:11:19 UTC
Description of problem:

See the attached screenshot. While accessing SwitchYard Mbeans via jconsole, the operations are greyed-out and the operation names are shown as "( p 1"

Version-Release number of selected component (if applicable):
soa-6.0.0.ER1-redhat-1.zip

How reproducible:
100%

Steps to Reproduce:
1. Install EAP 6.1, then soa-6.0.0.ER1-redhat-1.zip
2. Start up jconsole, connect to:  service:jmx:remoting-jmx://localhost:9999
3. Try to access a SwitchYard MBean, such as:
   org.switchyard.admin

Actual results:
See the attached screenshot

Expected results:


Additional info:

Comment 1 Len DiMaggio 2013-08-07 20:12:05 UTC
Created attachment 784131 [details]
Screenshot

Comment 2 Len DiMaggio 2013-08-07 20:19:45 UTC
These errors are also written to stdout:

Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver
Error setting Operation panel :org.switchyard.event.EventObserver

Comment 3 Keith Babo 2013-08-07 20:49:25 UTC
A few comments here:

1) org.switchard.admin is not an MBean, it's the domain name for SwitchYard MBeans.  Not trying to be picky, just want to make sure we talk apples to apples here. :-)

2) The MBean you have selected is named Management.Local because it's only used for local access.  Gary requested this MBean to register rtgov listeners from within the same VM.  You are connecting remotely from jconsole, so no Management.Local for you!

3) Operation names are not grayed out in your screenshot.  The operation name you have selected is visible in MBeanOperationInfo next to the name field ("removeObserver").  Parameter names are not kept by default at runtime, so the lack of a parameter name is not a surprise as we are not providing our own MBeanInfo object.

4) MBeans are not registered until at least one SY application is deployed.  Deploy an app then check the org.switchyard.admin domain.

5) The errors you see in the console stdout are due to the fact that you are accessing local management interfaces from a remote client.

Comment 4 Keith Babo 2013-11-15 15:46:54 UTC
This is not a bug.