-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
OK, Finally got it!!!
For those of you interested. I have solve my problem with the
oracle.jdbc.driver ClassNotFoundException!!!!!
The solution which works for me is to use:
1) the wrapper.classpath ( this is well written in the FAQ).
2) a short path to my zip files. YES. I noticed that if my path is for
example
"wrapper.classpath=/opt/app/oracle/product/8.1.6/jdbc/lib/class12.zip" JSERV
will not find the class. On the other hand if I use:
"wrapper.classpath=/opt/oracle/class12.zip" it will find it no problem!!
voila!! I guess this is a BUG.
Thanks for your help, back to work...
Jean Tremblay wrote:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> I have written a servlet which access an Oracle Database.
> I have installed successfully Apache 1.3.9 and JServ 1.0.
> I am using:
> - Apache 1.3.9 on SunOS 5.7
> - JServ 1.0
> - Oracle JDBC-thin driver V8.1.6
> - Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)
>
> Every time I launch my servlet I get:
> [24/09/1999 15:11:36:545] (ERROR) ajp11: Servlet Error:
> Initialization error while loading the servlet:
> ClassNotFoundException:oracle.jdbc.driver.OracleDriver!!
>
> - I have tried setting in jserv.properties :
>
> wrapper.classpath=/opt/app/oracle/product/8.1.6/jdbc/lib/nlscharset12.zip
>
> wrapper.classpath=/opt/app/oracle/product/8.1.6/jdbc/lib/classes12.zip
>
> - I have tried setting CLASSPATH.
>
> - I have tried creating a zone which points on my classes. Nothing
> worked! :(
>
> I know that my servlet is working, I made it work with JSDK.
>
> I have read many article in the FAQ, nothing seemed to help!
>
> Can anyone help me?
>
> Thanks.
>
> Jean
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
This message (plus any attachments) is confidential and may be subject to
lawyer-client privilege. Use without permission is strictly prohibited.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]