If tomcat is creating the datasource then the driver should go into the common/lib directory. That's the only way with the default classloader/lib directory layout.

-- Dirk

Guy Katz wrote:
hi;
i can get the BasicDataSource from tomcat.
the error occors upon trying to get a connection from the datasource.

-----Original Message-----
From: Dirk Verbeeck [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 7:36 PM
To: Jakarta Commons Users List
Subject: Re: [dbcp] strange error


Are you getting a BasicDataSource from tomcat using JNDI or are you creating your own BasicDataSource?


The best place to put your driver is next to the dbcp jar.

It's a strange error message, but that's normal with classloader issues ;-)

-- Dirk



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to