I've got the same problem with a servlet using MySQL jdbc bridge.
ClassNotFoundException : org.gjt.mm.mysql.Driver !
If using jdbc-odbc, there are no problems !
Well..
If someone had an idea.
Thanks

Pascal

"FOLEY Mark (EDS)" wrote:

> Hi all,
> it seems my first and second postings of this didn't hit the
> list... am I still on the list?  I am _receiving_ mail okay...
>
> I have been trying to make a call to an Oracle 8 database using a java
> servlet via a JDBC driver. I have been using a version of Personal Oracle
> that implements the Oracle 8 database.
>
> I have managed to communicate to Oracle 8 from a simple console application,
> however
> I am having trouble when I tried to scale the application up to run from a
> browser
> which calls a servlet via the form post method and in turn serves up the
> results
> of an sql query as a html page. The web server I am using is Java Web
> Server1.1.3 (JWS).
>
> As far as I can tell, I have made all the correct references in my
> CLASSPATH environment variable, and I have put my HTML in the
> public_html directory of the JWS and the .class file of my servlet in
> the servlets directory of the JWS, yet I am still trigerring the
>
> ClassNotFoundException
>
> exception when attempting to load the Oracle JDBC
> driver (as per the line of code below).
>
> Class.forName ("oracle.jdbc.driver.OracleDriver");
>
>  Can anyone help point me in the right direction here?
>
> thanks
>
> Daniel
>
> c/o
>
> Mark Foley
> EDS (Australia)
> +61-2-62756494
> [EMAIL PROTECTED]
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to