DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22913>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22913 Using jndi to get a DBCP BasicDataSource gives a ClassCastException ------- Additional Comments From [EMAIL PROTECTED] 2003-09-04 19:37 ------- I forgot to mention that I use these three lines to get the datasource: initContext = new InitialContext(); javax.naming.Context envContext = (javax.naming.Context)initContext.lookup("java:/comp/env"); DataSource ds = (DataSource)envContext.lookupLink("jdbc/SessionDB"); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]