users@glassfish.java.net

Re: GlassFishV3, pinging a connection pool.

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Fri, 5 Feb 2010 23:39:10 +0100

postgres listens on 5432... afaik 1521 is derby

On Fri, Feb 5, 2010 at 8:14 PM, <glassfish_at_javadesktop.org> wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>