Thank you for your question, but we have solved the problem
my colleague had. We added the name of the .jar file to the
classpath of the web server's JVM and it worked fine. Simply
putting the jdbc111.jar file into our /jclasses directory
wasn't enough.
Regards,
Mark
> -----Original Message-----
> From: Gerald Staruiala
> Sent: Wednesday, July 07, 1999 4:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with Oracle and Servlets - 3rd try
>
> Dumb question but have you tried to use the code not as a jar or zip but
> as
> a simple directory structure?
>
> ie
>
> x:\oracle\jdbc\driver\OracleDriver.class
>
> Gerald Staruiala,
> NE Information Systems Inc.
>
> ----- Original Message -----
> From: FOLEY Mark (EDS) <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 25, 1999 1:41 AM
> Subject: Problem with Oracle and Servlets - 3rd try
>
>
> > 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
___________________________________________________________________________
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