commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Anjur" <vijay.an...@gmail.com>
Subject Using jndi to get a DBCP BasicDataSource give ClassCastException
Date Mon, 06 Mar 2006 16:44:23 GMT
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?

http://mail-archives.apache.org/mod_mbox/tomcat-users/200309.mbox/%3C3F58A597.60904@cyberspaceroad.com%3E

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message