commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: [dbcp] strange error
Date Wed, 16 Jun 2004 05:57:31 GMT
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:dirk.verbeeck@pandora.be]
> 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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message