[jboss-jira] [JBoss JIRA] (JGRP-1397) JConsole cannot build the send/send/addChannelListener/removeChannelListener channel operations
Bela Ban (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Dec 6 11:31:42 EST 2011
[ https://issues.jboss.org/browse/JGRP-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648445#comment-12648445 ]
Bela Ban commented on JGRP-1397:
--------------------------------
OK, I removed @ManagedOperation from JChannel and Channel on methods which require non-primitive types as parameters (such as Address).
> JConsole cannot build the send/send/addChannelListener/removeChannelListener channel operations
> -----------------------------------------------------------------------------------------------
>
> Key: JGRP-1397
> URL: https://issues.jboss.org/browse/JGRP-1397
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.12.1
> Environment: Websphere 7.0, JConsole, JGroups 2.12.1
> Reporter: Julien Kronegg
> Assignee: Bela Ban
> Priority: Optional
> Fix For: 3.1
>
>
> JConsole cannot build the send/send/addChannelListener/removeChannelListener channel operations and issue "Error setting Operation panel" messages. The following error messages are displayed in JConsole Output:
> {code}Error setting Operation panel : org.jgroups.Message
> Error setting Operation panel : org.jgroups.Address
> Error setting Operation panel : org.jgroups.ChannelListener
> Error setting Operation panel : org.jgroups.ChannelListener
> {code}
> This seems to be caused by :
> - the {{org.jgroups.Channel}} class which allows its {{removeChannelListener}} and {{addChannelListener}} methods to be registered to JMX using the {{@ManagedOperation}} annotation
> - the {{org.jgroups.JChannel}} class which allows its {{send(Message)}} and {{send(Address,Address,Serializable)}} methods to be registered to JMX using the {{@ManagedOperation}} annotation
> The {{org.jgroups.Message}}, {{org.jgroups.Address}} and {{org.jgroups.ChannelListener}} are probably not basic types that JConsole understand.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list