Hello,

I am trying to connect with Jython 2.5.1 and zxJDBC on postgres/postgis with  :

from com.ziclix.python.sql import zxJDBC
connection1 = zxJDBC.connect('jdbc:postgresql//localhost:5432/template_postgis 
', 'postgres', 'xxx', 'org.postgres.Driver')
print "connection1"

and the CLASSPATH is set to postgresql-8.4-701.jdbc3.jar .

I get the error:

"zxJDBC.DatabaseError: driver [org.postgres.Driver] not found"

and the CLASSPATH is set to postgresql-8.4-701.jdbc3.jar  .

I use the connections with Oracle and MySQL successfuly.

Please, what is wrong with the PostGIS connection ?


Many thanks
Friedhold



Jetzt NEU: Do it youself E-Cards bei Arcor.de!
Stellen Sie Ihr eigenes Unikat zusammen und machen Sie dem Empfänger eine ganz 
persönliche Freude!
E-Card Marke Eigenbau: HIER KLICKEN: http://www.arcor.de/rd/footer.ecard
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to