Branch: refs/heads/release/jon3.2.x Home: https://github.com/rhq-project/rhq Commit: 2076253a9be9e085a9b08d61d447490b6f369269 https://github.com/rhq-project/rhq/commit/2076253a9be9e085a9b08d61d447490b6f... Author: Thomas Segismont tsegismo@redhat.com Date: 2014-05-09 (Fri, 09 May 2014)
Changed paths: M modules/plugins/postgres/src/main/java/org/rhq/plugins/postgres/PostgresServerComponent.java
Log Message: ----------- Bug 1082747 - Postgres Plugin - An Invalid Server Configuration Status Should Not Be Stack Trace
Throwing an Exception is the only way a plugin component can fail the process of starting of a resource. So without changing the agent plugin facet we can't rely avoid the stack trace shown on the server.
Still, the stack trace shown when a Postgres server resource is configured with invalid credentials was particularly long, so I changed the plugin component implentation to make the server show a stack trace with no cause and a condensed message ("Invalid password").
(cherry picked from commit dbeedced3664c0cda68f4a53b5bc789647cdd5f6)
rhq-commits@lists.fedorahosted.org