You do not need to unzip the jdbc driver zip file, you can
add it to the CLASSPATH by including the name of the file
in the classpath. i.e. something like
CLASSPATH=$CLASSPATH:/my_path_to_driver/jdbc111.zip
If your JVM doesn't like that, try renaming the .zip file
toa .jar file -- but it shouldn't be necessary to unzip
the thing.
> -----Original Message-----
> From: Moiz Mehmood Hussain
> Sent: Monday, July 05, 1999 4:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with Oracle and Servlets - 3rd try
>
> Hiya
> Well i had a similar problem, the problem is that the virtual machine
> cannot
> seem to find the zip file which contains the JDBC driver, if u r using a
> webserver then copy that zip file into the 'lib' directory of the
> webserver.
> If u r using the servletrunner then there is a bit dirty solution, unzip
> the
> zip file which contains the JDBC driver, it would unzip into a directory
> named 'oracle', now copy that directory recursively into the directory
> where
> your servlets are placed...
>
> hope this helps
>
> Regards
> Moiz
> Pakistan
>
>
>
>
> >From: "Vickey Rodrigues (SPD)" <[EMAIL PROTECTED]>
> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>
> > Servlet API Technology." <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: Problem with Oracle and Servlets - 3rd try
> >Date: Mon, 5 Jul 1999 09:23:53 +0530
> >
> >Hi ,
> >Are you using the Oracle thin driver in your applet .
> >
> >
> > > -----Original Message-----
> > > From: FOLEY Mark (EDS) [SMTP:[EMAIL PROTECTED]]
> > > Sent: Friday, June 25, 1999 1:11 PM
> > > To: [EMAIL PROTECTED]
> > > 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
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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