View Single Post

   
  #4 (permalink)  
Old 04-15-2008, 11:59 PM
Oliver Jowett
 
Posts: n/a
Default Re: 8.0 drivers released.

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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote