t via JNDI...
Thanks in advance.
--
= Roberto Bouza Fraga =
===
Research & Development Engineer
Ella Fontanals Cisneros Holdings
Ph: (305)-860-0116 / Fax:(305)-860-9401
===
e-Mail:[E
nit 4.2.2");
> > > ResultSet rst =
> > > stmt.executeQuery(
> > > "select * from anintric where COGNOME =
> > > 'PIPPO'");
> > > System.out.println(&q
f somebody does a http-post, we do an interal dispatch to doGet()
> */
>public void doPost(HttpServletRequest req,
> HttpServletResponse res) {
> doGet(req, res);
>}
> }
>
> "ds" is alway null - what am I mis
ily using the driver already set in the commons/lib.
3.) Use the JK2 Connector, that the MVP to connect Apache with tomcat and have
a good pool connection. Is more difficult to configure, but it works. ;)
I hope, this help somebody with the same issue.
Thanks to all.
--
exception of JDBC
driver class 'null', when I try to get the connection...
Any ideas
Thanks in advance.
Quoting Roberto Bouza <[EMAIL PROTECTED]>:
>
> Eric,
>
> I'm sure that the context lookup is fine and works both ways with the "/"
> and
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 rig
nv/");
>DataSource ds = (DataSource) envCtx.lookup("/jdbc/art");
>
> Note the "/" characters after java:/comp/env
> and before jdbc/art
>
> I was getting the same error with Oracle as you are with PostgreSQL.
>
> -Original Message-
>
blem... but, when I used the DBCP - BOOM - java.sql.SQLException: Cannot
load JDBC driver class 'null'...
Thanks you for your help.
--
= Roberto Bouza Fraga =
===
Research & Development Engineer
Ella Cisneros Fonta
place in your WARs classes
> area.
>
> Regards,
>
> Will Hartung
> ([EMAIL PROTECTED])
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
--
=
't know why tomcat is
not seeing the Driver if it is on common/lib...???
Thanks in advance for your help.
--
= Roberto Bouza Fraga =
===
Research & Development Engineer
Ella Cisneros Fontanals Holdings
Ph: (
10 matches
Mail list logo