From: Bogdan Daniliuc <bdaniliuc@montran.com>
To: pgsql-jdbc@postgresql.org
Subject: Problem updating driver to 42.0.0
Date: Fri, 3 Mar 2017 11:40:31 +0200
Message-ID: <971d94c7-a5a5-45fb-e785-37a5ad8ebf1f@montran.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Hello,
We are encountering an error when trying to update the driver from
postgresql-9.4.1212 to postgresql-42.0.0 in WebSphere 8.5.5
With 42.0.0, we get:
Failed to create a ConnectionPoolDataSource from PostgreSQL JDBC Driver
42.0.0 for testDB at jdbc:postgresql://localhost:5432/testDB:
java.sql.SQLException: No suitable driver found for
jdbc:postgresql://localhost:5432/testDB
DSRA8201W: DataSource Configuration: DSRA8040I: Failed to connect to the
DataSource DS2. Encountered java.sql.SQLException: No suitable driver
found for jdbc:postgresql://localhost:5432/testDB DSRA0010E: SQL State =
08001, Error Code = 0.
java.sql.SQLException: No suitable driver found for
jdbc:postgresql://localhost:5432/testDB DSRA0010E: SQL State = 08001,
Error Code = 0
at java.sql.DriverManager.getConnection(DriverManager.java:700)
at java.sql.DriverManager.getConnection(DriverManager.java:258)
at
org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:79)
at
org.postgresql.ds.PGConnectionPoolDataSource.getPooledConnection(PGConnectionPoolDataSource.java:69)
The driver is in a c:\driver directory. It works if the driver is moved
in AppServer\java_1.8_64\jre\lib\ext, but this is not recommended by IBM.
9.2.1212 and 1211 all work when placed in the same directory.
Thank you,
Bogdan
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: bdaniliuc@montran.com
Subject: Re: Problem updating driver to 42.0.0
In-Reply-To: <971d94c7-a5a5-45fb-e785-37a5ad8ebf1f@montran.com>
References: <971d94c7-a5a5-45fb-e785-37a5ad8ebf1f@montran.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox