Hum, i don't really like messages with high-priority, but heh :o)
 
I may be mistaken, so don't take this as the truth, the whole truth, and nothing but the truth !
I've had a problem similar to yours using the mySQL JDBC Driver, and this is how I solved it :
I'm using jdk1.2 and javawebserver 2 and i compiled fine lots of stuff using javamail api and third party package. To my surprise everything compiled fine but i had the same error message : class not found !
 
In javawebserver, the classpath has no effect on the servlet engine.
You need to copy the jar files in the \lib directory.
For mySQL i have the mysql_comp.jar and mysql_uncomp.jar files in \lib. Same for the javamail API I use, i copied mail.jar in \lib and added import javax.mail.*; in my prog files...
There, i hope i'm not too confusing.
 
So in my opinion, i think that whatever you use to run servlets needs to ave the jar files in a library directory.
 
Live long and prosper, Arnaud D.
 
 
----- Message d'origine -----
De : RAHIMUNISA_N <[EMAIL PROTECTED]>
� : <[EMAIL PROTECTED]>
Envoy� : jeudi 21 octobre 1999 10:27
Objet : SERVLET - JDBC PROBLEM

> hi,
>  iam using jsdk2.0, oracle thin driver classes111.zip and oracle 8.0.5 .
>
> i created an procedure to insert data entered by user .
> when submit button is clicked at browser
> i get
> "java.sql.SQLExcpetion : Message file 'oracle.jdbc.dbaccess.Messages' is
> missing "
> but this particular clas file is found in the respective dir and even
> class path is perfect. its able to access
> oracle.jdbc.driver.OracleDriver to load driver and get connected to
> oracle. then why i get this particualr error. pls try to reply asap .
> other screens r working perfect able to establish connection to DB . i
> unzipped the classes111.zip file inside the servlet/examples dir.
> Thanks ,
> Ruks.
>
> ___________________________________________________________________________
> 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