I figured it out....

It wasn't in my classpath because the Tomcat docs (and servlet API 2.2) say
that anything under lib/ is automatically added to the classpath...

Well a trip to the FAQ-O-MATIC shows that that feature isn't implented
yet...

So, now it's working.

Thanks.
----- Original Message -----
From: "Garrett, James A" <[EMAIL PROTECTED]>
To: "'Hunter Hillegas'" <[EMAIL PROTECTED]>
Sent: Monday, June 12, 2000 10:17 AM
Subject: RE: Tomcat Problems


> What about your classpath, did you make sure it includes the directory
path
> of your files.
>
> > -----Original Message-----
> > From: Hunter Hillegas [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, June 12, 2000 1:01 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat Problems
> >
> > I am using Tomcat 3.1 along with Ant to build my projects...
> >
> > Everything was working fine until I tried to access my database (mySQL -
> > mm
> > driver)...
> >
> > I first put the mm.jar file in the lib/ directory of my web app. It gets
> > copied to the right place when I deploy but the servlet engine can't
load
> > it.
> >
> > I also tried extracting the jar file under lib/ and moving the expanded
> > files to classes/ as well.
> >
> > Still getting a 'Unable to load class org.gjt.mm.mysql.Driver' message
> > when
> > accessing it...
> >
> > Any ideas? What am I doing wrong?
> >
> > Hunter
> >
> >
__________________________________________________________________________
> > _
> > 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