Thanks - I just looked at my setup for Windows 98 and
realized that I did put the jar file in the lib
directory of my jdk.  I guess I should of looked at my
Windows machine while setting up my Linux server.

Thanks again for all the responses.

-- Chad


--- "Artigas, Ricardo Y." <[EMAIL PROTECTED]> wrote:
> hi, chad. place the jar file in the lib directory
> and the place path to the
> jar file in the classpath setting for tomcat to see
> it. hth.
> 
> > -----Original Message-----
> > From:       Chad Wray [SMTP:[EMAIL PROTECTED]]
> > Sent:       Tuesday, July 31, 2001 11:28 AM
> > To: [EMAIL PROTECTED]
> > Subject:    RE: connecting to mysql database
> > 
> > Yes - I actually put the jar file in the src
> directory
> > under tomcat and added it to my classpath.  I will
> > double check it tomorrow by echoing my classpath. 
> I
> > am setting my classpath in my .bashrc file - does
> > tomcat.sh overwrite the classpath?  Or should I
> add
> > the jar file to the classpath in the tomcat.sh
> file?
> > 
> > -- Chad
> > 
> > 
> > --- "Artigas, Ricardo Y." <[EMAIL PROTECTED]>
> wrote:
> > > Did you include the mysql driver (the jar file)
> to
> > > your classpath?
> > > 
> > > > -----Original Message-----
> > > > From:   Chad Wray [SMTP:[EMAIL PROTECTED]]
> > > > Sent:   Tuesday, July 31, 2001 9:22 AM
> > > > To:     [EMAIL PROTECTED]
> > > > Subject:        connecting to mysql database
> > > > 
> > > > I am trying to access a mysql database on a
> linux
> > > box.
> > > > 
> > > > I am getting the following error:
> > > > javax.servlet.ServletException: Unable to load
> > > class
> > > > org.gjt.mm.mysql.Driver
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextI
> > > > mpl.java:459)
> > > >         at
> > > >
> > >
> >
>
_0002ffantasyFootball_0002ejspfantasyFootball_jsp_1._jspService(_0002ffant
> > > >
> > >
> asyFootball_0002ejspfantasyFootball_jsp_1.java:185)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> > > >         at
> > > >
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.
> > > > java:130)
> > > >         at
> > > >
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> > > > java:282)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> > > >         at
> > > >
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.Handler.service(Handler.java:287)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:
> > > > 797)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> > > > pConnectionHandler.java:213)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > > >         at
> > > >
> > >
> >
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> > > >         at
> java.lang.Thread.run(Thread.java:484)
> > > > 
> > > > Root cause: 
> > > > 
> > > > java.lang.ClassNotFoundException: Unable to
> load
> > > class
> > > > org.gjt.mm.mysql.Driver
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.servlet.JasperLoader.findClass(JasperLoader.java:223)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:147)
> > > >         at
> > > >
> > >
> >
>
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> > > >         at
> > > >
> > >
> >
>
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
> > > >         at java.lang.Class.forName0(Native
> Method)
> > > >         at
> java.lang.Class.forName(Class.java:120)
> > > >         at
> > > >
> > >
> >
>
_0002ffantasyFootball_0002ejspfantasyFootball_jsp_1._jspService(_0002ffant
> > > >
> asyFootball_0002ejspfantasyFootball_jsp_1.java:72)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> > > >         at
> > > >
> > >
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > >         at
> > > >
> > >
> >
>
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.
> > > > java:130)
> > > >         at
> > > >
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to