If you want to use dbcp send me a mail. I had bad days trying to
configure it, but it's working, I can send you my configuration (using
pgSQL)

On Wed, 2002-08-21 at 19:24, Andrew Conrad wrote:
> You can use JNDI to allow for sharing of connections across servlets
> using either the built in pool (dbcp) or your own pool.
> 
> 
> For Tomcat 4.0.x, you can look here (about half way down)
> 
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.htm
> l
> 
> 
> - Andrew
> 
> > -----Original Message-----
> > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, August 21, 2002 5:22 PM
> > To: Tomcat Users List
> > Subject: Tomcat and connection pooling
> > 
> > 
> > Hi,
> > I am using tomcat 4.0.4 and developing a web
> > application for as400 database, now IBM has provided
> > with a set of libraries to connect with AS400
> > database, there is a class called
> > AS400JDBCConnectionPool which creates a connection
> > pool, there are methods to get the connection and
> > return the connection back to pool
> > So the question is, if i create say 30 connections and
> > keep them in the pool in a servlet which is called
> > when i start the application, 
> > how can i get access to this pool (handle of the
> > object created in the first servlet) in other servlets
> > running in the application..
> > I dont want to keep it in session, or should i keep
> > the scope of the object at application level??
> > is there any connection pooling example available
> > Ashish
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > HotJobs - Search Thousands of New Jobs
> > http://www.hotjobs.com
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
-- 

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328


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

Reply via email to