commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hufgard <christian.hufg...@gmx.de>
Subject Re: Using jndi to get a DBCP BasicDataSource give ClassCastException
Date Mon, 06 Mar 2006 16:51:18 GMT
Hello Vijay,


> I am trying to cast datasource to BasicDataSource and getting a
> classcastException during runtime. I tried to output .getClass().getName()
> from the datasource to see what it
> thinks I see basicDataSource. I found the following link which is exactly my
> problem. Any ideas?

On the first look, this might be a Classloader issue. Where do you
have your libraries placed? Maybe you have duplicate classes in the
servers library dir an in WEB-INF/lib?



-- 
Best regards,
 Christian                            mailto:christian.hufgard@gmx.de


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