tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anja Falkner" <anja.falk...@fimedia.de>
Subject Re: not suitable driver?
Date Fri, 22 Feb 2002 11:25:29 GMT
Hi Isak,

the DriverManager has a method called availableDriver or so. Use this to
show, if your driver is registered.

If yes, your driver could be registered, but can not do his work with the
database. This is no problem of Tomcat.

If no, the driver.jar was not found by tomcat. Then try
Class.forName("org.gjt.mm.mysql.Driver").getInstance();

If this doesn't help, look to your context. Do you have a own context for
your webapplication. Create one and put the driver.jar to WEB-INF/lib.

Anja







--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message