Is it possible to pass an array of string to a method exposed by the MBean. If I have a method with an array parameter, JConsole disables the button to invoke the method.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use Jolokia (http://www.jolokia.org) (an agent based approach for JMX remoting as alternative to JSR-160 connectors), you could use j4psh, which comes as part of jmx4perl (http://www.jmx4perl.org). This is a readline based, consext sensitive command line shell with syntax highlighting. Simple array types (string, boolean, int, ..) can be given as a single comma separated list argument from within the shell for operation and attributes to set.