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]>

Reply via email to