$AdminControl queryNames : set logger $AdminControl queryNames : ,type=ILoggingLevel



set sigs java::new {java.lang.String[ } 2]

$sigs set 0 java.lang.String

$sigs set 1 java.lang.String



set msg "hi"

set msg2 "there"

set params java::new {java.lang.String[ } 2]

$params set 0 $msg

$params set 1 $msg2



set id $AdminControl invoke $logger changeLevelTest $params $sigs



...and if I run the same thing but use invoke_jmx, then I get the error "Exception running command..."is not an object handle of class "javax.management.Object".



Any ideas how to call the method passing in the 2 parameters?