Re: Jdbc connection pooling and PG 7.4 consistently fails - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: Jdbc connection pooling and PG 7.4 consistently fails
Date
Msg-id Pine.LNX.4.33.0312191313190.4565-100000@leary.csoft.net
Whole thread Raw
In response to Jdbc connection pooling and PG 7.4 consistently fails  ("Lewis Foti" <lewis.foti@mentation.com>)
Responses Re: Jdbc connection pooling and PG 7.4 consistently fails  (Lamar Owen <lowen@pari.edu>)
List 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 by date:

Previous
From: Nishad Prakash
Date:
Subject: Re: Bugs in bigint indexes
Next
From: Tom Lane
Date:
Subject: Re: Bugs in bigint indexes