Redhat 8 default database warning: JDBC problems
От | Dennis King |
---|---|
Тема | Redhat 8 default database warning: JDBC problems |
Дата | |
Msg-id | 20021122174140.67102.qmail@web40413.mail.yahoo.com обсуждение исходный текст |
Список | pgsql-jdbc |
This is a summary of the problems I had getting JDBC working with the Redhat Database that comes with the Redhat 8.0 installation, which are treated in an earlier thread. "forName finds Driver but getConnection doesn.t". Very simple, really. I believe I correctly configured PostgreSQL; the postgresql.conf file had "tcpip_sockets=true", the pg_hba.conf file had "host all 127.0.0.1 255.255.255.255 password," the driver from both Redhat and PostgreSQL were in the path. I could load the driver with the Class.forName() call, but not make the connection. I downloaded the upgrade packages and installed. Same thing. I uninstalled all the packages. Then I installed the source tarball for 7.2.3. I could not run make successfully with and configuration options other than "./configure". All --with-x and --enable-y options broke make. I reinstalled the OS without the Redhat database, installed Java 1.3.1 and the Java Web Services Developers Pack, and all ran fine. The same program that had failed with the Redhat distribution worked right away. Redhat's site mentions that their database has been approved for Redhat 7.3. Perhaps they distribute incompatible software with the 8.0 distribution. Hope this saves somebody some grief. Thanks for all the helpful words from those who wrote me back. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus � Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
В списке pgsql-jdbc по дате отправления: