Description of problem: rhq-installer.sh should suppress java trace caused by invalid arguments [hudson@vnguyen4 bin]$ ./rhq-installer.sh --dd Starting RHQ Server installer ... 16:35:02,304 INFO [org.jboss.modules] JBoss Modules version 1.1.2.GA-redhat-1 16:35:02,387 INFO [org.rhq.enterprise.server.installer.Installer] Starting installer... installer: unrecognized option '--dd' 16:35:02,397 INFO [org.rhq.enterprise.server.installer.Installer] RHQ Installer --help, -H: this help text -Dname=value: set system properties for the Installer VM --host=<hostname>, -h: hostname where the app server is running --port=<port>, -p: talk to the app server over this management port --test, -t: test the validity of the server properties (install not performed) --listservers, -l: show list of known installed servers (install not performed) --setupdb, -b: only perform database schema creation or update --reconfig, -r: resets some configuration settings in an installed server --dbpassword, -d: encodes a DB password for rhq-server.properties (install not performed) 16:35:02,398 ERROR [org.rhq.enterprise.server.installer.Installer] An error occurred: java.lang.IllegalArgumentException at org.rhq.enterprise.server.installer.Installer.processArguments(Installer.java:194) [rhq-installer-util-4.6.0.JON.jar:4.6.0.JON] at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:76) [rhq-installer-util-4.6.0.JON.jar:4.6.0.JON] at org.rhq.enterprise.server.installer.Installer.main(Installer.java:57) [rhq-installer-util-4.6.0.JON.jar:4.6.0.JON] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:616) [rt.jar:1.6.0_24] at org.jboss.modules.Module.run(Module.java:270) at org.jboss.modules.Main.main(Main.java:294) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Also considering removing the message "Starting RHQ Server installer ..." It seems to me as if the installing is doing the actual installation. For example when running ./rhq-installer.sh --dbpassword=foobar I thought the installation is happening following the password encryption.
git commit to master: 110ce1a
As this is MODIFIED or ON_QA, setting milestone to ER1.
verified in ER5