I downloaded it and none of the samples have JNDI example.  I've tried
this setup (see below), and it didn't work for me. So now I'm looking
for a more concrete example - some proof that it actually works ;-)

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-howto.html

Also, I've heard recently that it's important to not only do rs.close(),
but also rs = null, etc. for stmts and conns too.  Is this true?

Thanks,

Matt


> -----Original Message-----
> From: V. Cekvenich [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, September 19, 2002 6:11 AM
> To: [EMAIL PROTECTED]
> Subject: Re: DBCP Pooling Example App?
> 
> 
> I just asked similar question in commons. Download DBCP from 
> commons, it 
> comes with samples.
> V.
> 
> Matt Raible wrote:
> > I am trying to migrate from using Tyrex 0.9.7 
> (EnabledDataSource) to 
> > DBCP in Tomcat 4.1.10.  I can get an initial connection, 
> but then it 
> > fails with the following issue:
> > 
> > 
> http://www.mail-archive.com/tomcat-user%>
40jakarta.apache.org/msg66220.
> > ht
> > ml
> > 
> > Does anyone know where I can download a sample app to see where I'm 
> > going wrong?
> > 
> > Thanks,
> > 
> > Matt
> 
> 
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to