tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norris Shelton <norrisshel...@yahoo.com>
Subject Re: Realm using LOTS of DB connections
Date Fri, 19 Nov 2004 15:42:31 GMT
I would like to, but we are not "allowed" to use pooling yet.
--- Seth Ladd <seth@ehawaii.gov> wrote:

> Norris Shelton wrote:
> > We have the manager app for each of our contexts set-up to
> use
> > the DB to authenticate users.  Unfortunately, it is using
> TONS
> > of connections.  Over an 8 min period, it used 1200
> connections.
> >  We have 2 boxes, each with 16 contexts with their own
> manager
> > context.  Here is what the manager context of each of them
> looks
> > like:
> >           <Context docBase="../../server/webapps/manager"
> > path="/manager"
> >                 privileged="true">
> > 
> >               <Realm 
> > className="org.apache.catalina.realm.JDBCRealm"
> 
> You might want to try to DataSourceRealm, which would pull its
> 
> connection from a pool.
> 
> Seth
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 


=====

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message