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!

Alpha Launch: AI-Assisted Auto-Schematization for CIM

Streamlining Data Onboarding: Announcing the Alpha Release of AI-Assisted Auto-Schematization For many Splunk ...

Enterprise Security(ES) Essentials or Premier? Let's discuss Splunk ES Editions on ...

  Hi everyone, Last year at .conf25, we shared something exciting: Splunk Enterprise Security is evolving ...

[Puzzles] Solve, Learn, Repeat: Advent of Code - Day 5

Advent of CodeIn order to participate in these challenges, you will need to register with the Advent of Code ...