Won't Fix
Details
Assignee
UnassignedUnassignedReporter
Ronny TrommerRonny TrommerComponents
Affects versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Ronny Trommer
Ronny TrommerComponents
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created August 6, 2015 at 4:39 AM
Updated June 3, 2019 at 7:08 AM
Resolved August 6, 2015 at 4:40 AM
If you run the JMX config generator without arguments, it shows the following error message:
08:36:51.684 [main] ERROR o.o.f.jmxconfiggenerator.Starter - An exception occured org.kohsuke.args4j.CmdLineException: set jmx or graph. at org.opennms.features.jmxconfiggenerator.Starter.doMain(Starter.java:129) [jmxconfiggenerator-14.0.3-SNAPSHOT.jar:] at org.opennms.features.jmxconfiggenerator.Starter.main(Starter.java:115) [jmxconfiggenerator-14.0.3-SNAPSHOT.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51] at com.simontuffs.onejar.Boot.run(Boot.java:306) [opennms_jmx_config_generator.jar:na] at com.simontuffs.onejar.Boot.main(Boot.java:159) [opennms_jmx_config_generator.jar:na]
The tool should just provide the usage help output without errors.