Hello, Unfortunately, it still doesn't run. I have no idea where tomcat expects those jar file to be ( I have downloaded the JDBC-Driver for mysql, the file is named mm.mysql-2.0.4-bin.jar) and copied it to $JAKARTA_HOME/common/lib, but still the same "Class loading error ". Maybe I need to put it elsewhere? I also do not know if JDBC is working at all ! Is there a way to check this? do I have to configure this separatlely somwhere in jakarta?
thank you for your help again subceero ----- Original Message ----- From: "Thomas Gideon" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 7:58 PM Subject: Re: jakarta + MySQL / JDBC Problem > On Tue, Apr 02, 2002 at 07:52:44PM +0200, subceero wrote: > > Hello everyone, > > > > I'm running tomcat on a linux system. My test JSP-Page runs fine, but if I > > try to connect to a mySQL-database, all I get is a "Class loading error ". > > Does anyone know what this could mean? Is some class missing? what do I need > > to run JDBC? Do I need to configure tomcat to access a DB? > > Are the JDBC jars for MySQL somewhere where they are accessible to your > JSP? If you did not copy or link the JDBC jar somewhere underneath your > Tomcat install directory, like $CATALINA_HOME/common/lib, chances are that > is the problem. I.e. the DriverManager is trying to load the JDBC driver > you requested but the class in question is nowhere on the classpath that > the JSP knows about. > > Thomas > -- > > "Why is American beer served cold? So you can tell it from urine." -- David > Moulton > > mailto:[EMAIL PROTECTED] > http://www.gideonfamily.org/tom/ > jabber:[EMAIL PROTECTED] > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>