guru,

I have classes12.zip from oracle containing the classes I should need.   I have
even added C:\Orant\JDBC\classes12.zip; to the CLASSPATH I have been using. You
said I should add this to my "servers classpath."  Is this different from the
CLASSPATH environment variable?

Dave

"Raghupathy, Gurumoorthy" wrote:

> did you add the classes111.zip or other zip file to the servers ?
> classpath???
> do it and this will work...
>
> guru
>
> -----Original Message-----
> From: Bo Xu [mailto:[EMAIL PROTECTED]]
> Sent: 27 October 2001 20:30
> To: [EMAIL PROTECTED]
> Subject: Re: A Servlet using JDBC error
>
> David Bustin wrote:
>
> > Amrinder,
> >
> > Sorry for the confusion.  When I added some comments I neglected to
> > correct the line numbers.
> >
> > the error is on the line - Statement stmt = con.createStatement();
> >
> > I have since tried changing the driver name in
> > Class.forName ("oracle.jdbc.driver.OracleDriver");
> > to Class.forName ("bugger");  to see if I received any other errors.  I
> > don't get any additional errors and the results is identical.  This makes
> > me think that Tomcat is unable to locate the driver at runtime.  Sound
> > reasonable?
> > [...]
>
> I suggest you check where oracle.jdbc.driver.OracleDriver(.class) is:
> if it is in a jar file, you can move the jar file from CLASSPATH to
> WEB-INF/lib,  from several emails, it is better to "encapsulate :-) "
> utility-jar file(s) of a webapp into WEB-INF/lib.
>
> Bo
> Oct.26, 2001
>
> ___________________________________________________________________________
> 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

Reply via email to