tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman \"Blade\" Velichko" <>
Subject Re: RES: Tomcat Conn Pooling in 4.0.4 - Very Slow?
Date Thu, 07 Aug 2003 04:18:04 GMT
JEdSJD> I guess that DBCP would be the better choice, since it is db platform
JEdSJD> independency. I use it in 4.1.18 and its nice to me.
JEdSJD> Eculides.
But DBCP throw an UnsupportedException when I try to
execute this portion if code:

   initCtx=new InitialContext();
   jndiDataSource=(DataSource) initCtx.lookup("java:comp/env/jdbc/gray/hr");
   Connection conn=jndiDataSource.getConnection("username","userpassword");
   // in this section conn is ALLWAYS NULL
catch(NamingException nameExcept)

With best wishes
Roman "Blade" Velichko []

Chance favour to prepared mind

View raw message