0

/t5/coldfusion-discussions/postgresql-connection/td-p/538052
May 07, 2007
May 07, 2007
Copy link to clipboard
Copied
Hi
I'm trying to connect to a Postgres DB (Version 8.2) from ColdFusion MX 7 (7.0.2). Both are located on the same machine, so TCP/IP Connection should be working fine.
Apart I followed the instructions in the TechNote 18338 to get the JDBC Driver recognized by CF and also set up the datasource accordingly. However now I get the following error:
Connection verification failed for data source: mytest_post
java.sql.SQLException: Timed out trying to establish connection
The root cause was that: java.sql.SQLException: Timed out trying to establish connection
Can anyone help? A friend of mine is getting the same error with the software configuration
thanks in advance
thomas
I'm trying to connect to a Postgres DB (Version 8.2) from ColdFusion MX 7 (7.0.2). Both are located on the same machine, so TCP/IP Connection should be working fine.
Apart I followed the instructions in the TechNote 18338 to get the JDBC Driver recognized by CF and also set up the datasource accordingly. However now I get the following error:
Connection verification failed for data source: mytest_post
java.sql.SQLException: Timed out trying to establish connection
The root cause was that: java.sql.SQLException: Timed out trying to establish connection
Can anyone help? A friend of mine is getting the same error with the software configuration
thanks in advance
thomas
TOPICS
Database access
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
May 07, 2007
May 07, 2007
The connection works fine now that we use another driver:
apparently the JDBC version IV (8.2_505) driver does not work, the version III driver works fine
thank you for the help offered!
Thomas
apparently the JDBC version IV (8.2_505) driver does not work, the version III driver works fine
thank you for the help offered!
Thomas
LEGEND
,
/t5/coldfusion-discussions/postgresql-connection/m-p/538053#M49187
May 07, 2007
May 07, 2007
Copy link to clipboard
Copied
t_ray wrote:
>
> I'm trying to connect to a Postgres DB (Version 8.2) from ColdFusion MX 7
> (7.0.2). Both are located on the same machine, so TCP/IP Connection should be
> working fine.
> Apart I followed the instructions in the TechNote 18338 to get the JDBC
> Driver recognized by CF and also set up the datasource accordingly.
What exactly did you fill out in the different fields in the Administrator?
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
>
> I'm trying to connect to a Postgres DB (Version 8.2) from ColdFusion MX 7
> (7.0.2). Both are located on the same machine, so TCP/IP Connection should be
> working fine.
> Apart I followed the instructions in the TechNote 18338 to get the JDBC
> Driver recognized by CF and also set up the datasource accordingly.
What exactly did you fill out in the different fields in the Administrator?
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

/t5/coldfusion-discussions/postgresql-connection/m-p/538054#M49188
May 07, 2007
May 07, 2007
Copy link to clipboard
Copied
The connection works fine now that we use another driver:
apparently the JDBC version IV (8.2_505) driver does not work, the version III driver works fine
thank you for the help offered!
Thomas
apparently the JDBC version IV (8.2_505) driver does not work, the version III driver works fine
thank you for the help offered!
Thomas
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
LATEST
/t5/coldfusion-discussions/postgresql-connection/m-p/538055#M49189
May 08, 2007
May 08, 2007
Copy link to clipboard
Copied
On the download page:
http://jdbc.postgresql.org/download.html
"JDK 1.4, 1.5 - JDBC 3. This contains support for SSL and javax.sql, but does not require J2EE as it has been added to the J2SE release.
JDK 1.6 - JDBC4. Support for JDBC4 methods is limited. The driver builds, but the majority of new methods are stubbed out. "
So the v. 4 driver won't work unless you're running on JDK 1.6
http://jdbc.postgresql.org/download.html
"JDK 1.4, 1.5 - JDBC 3. This contains support for SSL and javax.sql, but does not require J2EE as it has been added to the J2SE release.
JDK 1.6 - JDBC4. Support for JDBC4 methods is limited. The driver builds, but the majority of new methods are stubbed out. "
So the v. 4 driver won't work unless you're running on JDK 1.6
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

