commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Katz <gk...@allot.com>
Subject RE: [dbcp] strange error
Date Wed, 16 Jun 2004 07:21:37 GMT
thanks.
i dont really know how the hosting company partitions classloaders but the
odd thing is that this is the second hosting company i get this error
from...
it forced me to create my own data source and messed up my realm
configuration in tomcat, cause i used the datasource realm...

-----Original Message-----
From: Dirk Verbeeck [mailto:dirk.verbeeck@pandora.be]
Sent: Wednesday, June 16, 2004 7:58 AM
To: Jakarta Commons Users List
Subject: Re: [dbcp] strange error


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

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