Thread: no suitable driver
hi, i've this typical error, i've read some stuff about it but many concern applets, and my problem comes from a jsp page. i've the jar of distribution load from TOMCAT in it lib directory. before that i've the 'unable to load class...' Now that i pt the jar in tomcat/lib nad modify the script to generate a goodclasspath value i've the "no suitable driver" My configuration is APACHE 1.3.20/WIN NT 4.0 SP 4/TOMCAt 3.2/POSTGRESQL 7.1.2 Thank for help ! Matthieu
Matthieu Can you send us the code which causes the problem. It is very difficult to diagnose with this much information Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Matthieu Guyonnet-Duluc Sent: August 3, 2001 5:38 AM To: pgsql-jdbc@postgresql.org Subject: [JDBC] no suitable driver hi, i've this typical error, i've read some stuff about it but many concern applets, and my problem comes from a jsp page. i've the jar of distribution load from TOMCAT in it lib directory. before that i've the 'unable to load class...' Now that i pt the jar in tomcat/lib nad modify the script to generate a good classpath value i've the "no suitable driver" My configuration is APACHE 1.3.20/WIN NT 4.0 SP 4/TOMCAt 3.2/POSTGRESQL 7.1.2 Thank for help ! Matthieu ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
On 03 Aug 2001 11:38:10 +0200, Matthieu Guyonnet-Duluc wrote: > hi, i've this typical error, i've read some stuff about it but many concern applets, and my problem comes from a jsp page. > > i've the jar of distribution load from TOMCAT in it lib directory. > > before that i've the 'unable to load class...' Now that i pt the jar in tomcat/lib nad modify the script to generate agood classpath value i've the "no suitable driver" > > My configuration is APACHE 1.3.20/WIN NT 4.0 SP 4/TOMCAt 3.2/POSTGRESQL 7.1.2 The jar is in TOMCAT_HOME/lib and nowhere else? What is the driver called? Did you rename it to postgresql.jar? How are your calling it? Did you restart Tomcat and Apache? Je peux repondre en français aussi. Cheers Tony Grant -- RedHat Linux on Sony Vaio C1XD/S http://www.animaproductions.com/linux2.html Macromedia UltraDev with PostgreSQL http://www.animaproductions.com/ultra.html
thanks to all for your help, this a url problem, i thought that the driver problem deal with jar file and not the code in jsp... newbie in java and postgresqlis hard ! Matthieu ------ Mail d'origine ------ Matthieu Can you send us the code which causes the problem. It is very difficult to diagnose with this much information Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Matthieu Guyonnet-Duluc Sent: August 3, 2001 5:38 AM To: pgsql-jdbc@postgresql.org Subject: [JDBC] no suitable driver hi, i've this typical error, i've read some stuff about it but many concern applets, and my problem comes from a jsp page. i've the jar of distribution load from TOMCAT in it lib directory. before that i've the 'unable to load class...' Now that i pt the jar in tomcat/lib nad modify the script to generate a good classpath value i've the "no suitable driver" My configuration is APACHE 1.3.20/WIN NT 4.0 SP 4/TOMCAt 3.2/POSTGRESQL 7.1.2 Thank for help ! Matthieu ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)