users@glassfish.java.net

Re: Error while Resizing pool PostgreSqLPool

From: Craig Ringer <craig_at_postnewspapers.com.au>
Date: Tue, 21 Sep 2010 21:16:23 +0800

On 09/16/2010 05:09 PM, glassfish_at_javadesktop.org wrote:

> [#|2010-09-13T17:27:13.699+0200|FINE|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.pool|_ThreadID=52;_ThreadName=Thread-1;ClassName=com.sun.enterprise.resource.pool.ConnectionPool;MethodName=createSingleResource;|Connection creation failed for 1 time. It will be retried, if connection creation retrial is enabled.
> java.lang.NullPointerException
> at org.postgresql.Driver.parseURL(Driver.java:601)
> at org.postgresql.Driver.connect(Driver.java:248)

What PostgreSQL driver version are you running? If you're not running
version 801, you might want to try 801 to see if the problem is
resolved. You can get the latest driver from:

    jdbc.postgresql.org

If you tell Glassfish to ping the pool immediately after Glassfish
startup, does that work?

If you can reproduce this issue with the latest driver, please post the
stack trace you get with the new driver, including all line numbers.
I'll have a look at the issue and if I can't see what might be going on,
I'll check on psql-jdbc and cc you in.

--
Craig Ringer