Re: 8.0 drivers released.
От | Andreas Joseph Krogh |
---|---|
Тема | Re: 8.0 drivers released. |
Дата | |
Msg-id | 200501181315.48764.andreak@officenet.no обсуждение исходный текст |
Ответ на | Re: 8.0 drivers released. (Oliver Jowett <oliver@opencloud.com>) |
Список | pgsql-jdbc |
On Tuesday 18 January 2005 12:58, you wrote: > 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.prope >rties"); > > 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? I saw that line too, but would never have guessed that getClassLoader() returnes null(don't know much about classloaders). I'm trying to load a ConnectionPool in Tomcat-5.0.28 and had my pg.jar in $TOMCAT_HOME/common/endorsed/, when I moved it to $TOMCAT_HOME/common/lib/ it works ok. It used to work in common/endorsed with previous releases(including 8.0.beta4 which is the last one I tried before 8.0 final). Anyway, the problem is now gone, thanks! -- Andreas Joseph Krogh <andreak@officenet.no> Senior Software Developer / Manager gpg public_key: http://dev.officenet.no/~andreak/public_key.asc ------------------------+---------------------------------------------+ OfficeNet AS | Can i wash my clothes with my dvd drive? | Hoffsveien 17 | Or do i need to replace it with a washing | PO. Box 425 Skøyen | machine?? | 0213 Oslo | | NORWAY | | Phone : +47 22 13 01 00 | | Direct: +47 22 13 10 03 | | Mobile: +47 909 56 963 | | ------------------------+---------------------------------------------+
Вложения
В списке pgsql-jdbc по дате отправления: