tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Knights" <>
Subject RE: Driver fails to load on two webapps
Date Thu, 04 Oct 2001 13:12:51 GMT
Are all the sql related class files for each webapp in the respective
webapps lib or classes directories?

If not you might try that. (And if it works please report back.)


> -----Original Message-----
> From: Brian Richards []
> Sent: Wednesday, October 03, 2001 9:54 PM
> To:
> Subject: Driver fails to load on two webapps
> Ok I am running two applications that use the IBM DB2
> appdriver to connect
> to two different databases.  The problem is this when i start
> up tomcat only
> one of the applications can access the database.  The first
> one to have a
> request made wins and the other app gets a No Suitable Driver
> exception.
> They both work independtly as long as it's the first one
> requested.  My
> theory is that the Class.forName(driver) being called twice is mucking
> things up the code at fault is:

View raw message