You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Roberto Bouza <rb...@efcholdings.com> on 2002/12/05 22:15:38 UTC
java.sql.SQLException: Cannot load JDBC driver class 'null' (Apache-Tomcat)
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 <rb...@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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>