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:[EMAIL PROTECTED]
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:[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]

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

Reply via email to