tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Bouza <rbo...@efcholdings.com>
Subject java.sql.SQLException: Cannot load JDBC driver class 'null' (Apache-Tomcat)
Date Thu, 05 Dec 2002 21:15:38 GMT
 Hello everybody...

 A lot of hours later trying to put up the pooling, trying all the
configurations possibles... I put Tomcat Standalone (without apache warp
connection) and all works fine. Now, when I use Apache-Tomcat with the same
pooling connection, same configuration, same all... I get the exception of JDBC
driver class 'null', when I try to get the connection...

 Any ideas????

 Thanks in advance.

Quoting Roberto Bouza <rbouza@efcholdings.com>:

> 
> Eric,
> 
> I'm sure that the context lookup is fine and works both ways with the "/"
> and
> without the "/", why, I tested both ways and I can bind with the JNDI
> Resource,
> if the problem were there then I get like a NamingException or
> NamingResourceNotFound beacuse the binding name were wrong. 
> 
> Am I right? or I'm missing something?
> 
> //Context envCtx = (Context) ctx.lookup("java:/comp/env");
> //DataSource ds = (DataSource) envCtx.lookup("/jdbc/art");
> DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/art");
> 
> Thanks.
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 


-- 
=             Roberto Bouza Fraga               =
===================================
      Research & Development Engineer
       Ella Cisneros Fontanals Holdings
 Ph: (305)-860-0116 / Fax:(305)-860-9401
===================================
       e-Mail:rbouza@efcholdings.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message