Re: 8.0 drivers released.

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Cc: Kris Jurka <books(at)ejurka(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 8.0 drivers released.
Date: 2005-01-18 11:58:51
Message-ID: 41ECF9FB.7040300@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Andreas Joseph Krogh wrote:

> NullPointerException:
> Caused by: java.lang.NullPointerException
> at org.postgresql.Driver.getDefaultProperties(Driver.java:84)
> at org.postgresql.Driver.connect(Driver.java:167)
> at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:599)

Driver.java:84 is:

Enumeration urlEnum =
getClass().getClassLoader().getResources("org/postgresql/driverconfig.properties");

I guess that org.postgresql.Driver is being loaded by the bootstrap
classloader (getClassLoader() returns null). How exactly are you getting
the driver jar into the classpath?

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andreas Joseph Krogh 2005-01-18 12:15:44 Re: 8.0 drivers released.
Previous Message Andreas Joseph Krogh 2005-01-18 10:51:21 Re: 8.0 drivers released.