Splunk AppDynamics

Passing a String array to a JMX operation

JohnGregg
Path Finder

I am trying to invoke the threadPrint operation on the MBean java.lang:type=Runtime.  I think the UI is telling me that it takes a String array as input, but I can't figure out how to specify an array.

I have tried many combinations:

  • Blank
  • Empty double quotes
  • Empty single quotes
  • Double-quoted values
  • Single-quoted values
  • Curly braces
  • Square braces
  • A single character
  • Multiple characters

A few give an immediate syntax error, like quotes aren't allowed.  Most give something like this:

failed with error = Unsupported type = [Ljava.lang.String;, value = l 

 I think it's trying to tell me that my input is not a String array.

How do I specify an array?

 

thanks

 

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...