Created
August 8, 2013 15:59
-
-
Save cyrille-leclerc/6185900 to your computer and use it in GitHub Desktop.
Arguments are not passed to the shell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bees app:instance:invoke -i cyrille-leclerc/4b9ba562-cbf3ba08 --script jmx_invoker --args="-on *:* -l" | |
Exit code: 1 | |
INVALID INVOCATION: Option "-on (--object-name)" is required | |
Arguments: --pid-file /var/genapp/apps/4b9ba562/.genapp/app_pid | |
Usage: | |
--pid-file PID_FILE : PID FILE of the JVM to attach to. | |
--pid or --pid-file required | |
-attr (--attribute) ATTRIBUTE_NAME : attribute to read or to update. If a | |
[VAL] : VAL is passed, then it is a write | |
action, otherwise, it is a read action | |
-d (--describe-mbeans) : describe mbeans | |
-h (--help) : print help | |
-l (--list-mbeans) : list mbeans | |
-on (--object-name) OBJECT_NAME : ObjectName of the MBean(s) to invoke, | |
can contain wildcards (*). If more | |
than one MBean match, all MBeans are | |
invoked | |
-op (--operation) OPERATION_NAME : operation to invoke with arguments | |
[ARG1 [ARG2 ...]] : | |
-p (--pid) PID : PID of the JVM to attach to. --pid or | |
--pid-file required | |
-v (-x, --verbose) : print debug info | |
-vvv (-xxx) : print super verbose debug info | |
Exception in thread "main" org.kohsuke.args4j.CmdLineException: Option "-on (--object-name)" is required | |
at org.kohsuke.args4j.CmdLineParser.parseArgument(CmdLineParser.java:497) | |
at com.cloudbees.jmx.JmxInvoker.main(JmxInvoker.java:60) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment