Red Hat Bugzilla – Bug 835687
Upgrade postgres driver to v9.1-902.jdbc4
Last modified: 2015-02-01 18:28:19 EST
Description of problem:
RHQ does not work with Postgres 9.1.4 in the default configuration. When trying to log on to the RHQ at http://127.0.0.1:7080, I got an error related to connecting to the database which finally boiled down to an exception: „column index out of range: 2, column count: 1”.
When I upgraded the postgres driver from
postgresql-9.1-901.jdbc4.jar to postgresql-9.1-902.jdbc4.jar, the problems were gone.
Version-Release number of selected component (if applicable):
RHQ version: 4.5.0, though it probably affects also older versions.
Steps to Reproduce:
1. Start an RHQ server.
2. Try to log on with default credentials rhqadmin/rhqadmin.
3. The logging is unsuccessful and a stack trace appears in the log file.
You cannot log on.
You are logged on and can modify rhq settings.
Updating the driver seems to fix: https://bugzilla.redhat.com/show_bug.cgi?id=741855
Done in master:
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.