users@glassfish.java.net

GlassFishV3, pinging a connection pool.

From: <glassfish_at_javadesktop.org>
Date: Fri, 05 Feb 2010 11:14:03 PST

Firstly, thanks Sahoo for the right way to set CLASSPATH for GlassFishV3

The following is a newbie question. I've installed GlassfishV3 with the following JDBC driver:
GlassFishV3\glassfish\domains\domain1\lib\classes\postgresql-8.4-701.jdbc4.zip

I set up a JDBC connection pool as follows, name: PostgreSqlPool; network protocol: tcp/ip; server: 127.0.0.1; port number: 1521

A ping to the new connection pool fails, with the following log file entry

[#|2010-02-05T11:34:18.040-0500|WARNING|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=30;_ThreadName=Thread-1;|RAR8054: Exception while creating an unpooled [test] connection for pool [ PostgreSqlPool ], Connection could not be allocated because: The connection attempt failed.|#]

I think the port number is OK because any other number port number causes a response questioning the port number.

Any ideas.
Thanks,

Jerry
[Message sent by forum member 'grj99' (Gerald.Joyce_at_motorola.com)]

http://forums.java.net/jive/thread.jspa?messageID=385051