Re: Jdbc connection pooling and PG 7.4 consistently fails

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Jdbc connection pooling and PG 7.4 consistently fails
Дата
Msg-id Pine.LNX.4.33.0312191313190.4565-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Jdbc connection pooling and PG 7.4 consistently fails  ("Lewis Foti" <lewis.foti@mentation.com>)
Ответы Re: Jdbc connection pooling and PG 7.4 consistently fails  (Lamar Owen <lowen@pari.edu>)
Список pgsql-bugs
On Thu, 18 Dec 2003, Lewis Foti wrote:

> Hi
>
> Having downloaded and installed the rpms for 7.4 I upgraded the database and
> began testing. As the system under development is based on servlets we are
> using the JDBC3 Jdbc3PoolingDataSource to provide the connections. All
> attempts to read from the database via jdbc pooled connections now fail.
> Looking in syslog the following error is being reported;
>
> Dec 18 19:06:04 neptune postgres[1986]: [4-1] LOG:  statement: set
> autocommit = off;
> Dec 18 19:06:04 neptune postgres[1986]: [5-1] ERROR:  SET AUTOCOMMIT TO OFF
> is no longer supported
>
> This then causes a Java exception and the query fails. The jdbc jar file
> being used is /usr/share/pgsql/pg73jdbc3.jar as provided in the
> postgresql-jdbc-7.4-0.5PGDG rpm. Is this the correct one to use or should we
> replace it with the /usr/share/pgsql/devpgjdbc3.jar?

The RPMs do not have the correct jar file.  Try one of those available
from http://jdbc.postgresql.org/download.html

Kris Jurka

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Nishad Prakash
Дата:
Сообщение: Re: Bugs in bigint indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bugs in bigint indexes