Re: JDBC connection pooling maxActive or MaxTotal

2020-01-08 Thread Zahid Rahman
On Fri, Jan 3, 2020 at 5:29 PM Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > >> -BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA256 > >> > >> Dave, > >> > >> On 1/3/20 13:47, Dave Bothwell wrot

Re: [OT] JDBC connection pooling maxActive or MaxTotal

2020-01-06 Thread Christopher Schultz
hat was very helpful. >> >> Thank you Dave >> >> >> >> On Fri, Jan 3, 2020 at 5:29 PM Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> > Dave, > > On 1/3/20 13:47, Dave Bothwell wrote: >>>>> I am using Tom

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-05 Thread Guang Chao
On Sat, Jan 4, 2020 at 2:47 AM Dave Bothwell wrote: > Hello, > > I am using Tomcat 8.5.11 with JDBC connection pooling. Based on the > documentation it is clear that DBCP pooling has changed the maxActive > attribute to maxTotal. However it is unclear, based on this d

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-03 Thread zahid
, That was very helpful. Thank you Dave On Fri, Jan 3, 2020 at 5:29 PM Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 1/3/20 13:47, Dave Bothwell wrote: I am using Tomcat 8.5.11 with JDBC connection pooling.

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-03 Thread Dave Bothwell
Chris, That was very helpful. Thank you Dave On Fri, Jan 3, 2020 at 5:29 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Dave, > > On 1/3/20 13:47, Dave Bothwell wrote: > > I am using Tomc

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 1/3/20 13:47, Dave Bothwell wrote: > I am using Tomcat 8.5.11 with JDBC connection pooling. Based on > the documentation it is clear that DBCP pooling has changed the > maxActive attribute to maxTotal. However it is uncle

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-03 Thread zahid
, I am using Tomcat 8.5.11 with JDBC connection pooling. Based on the documentation it is clear that DBCP pooling has changed the maxActive attribute to maxTotal. However it is unclear, based on this document https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html, if JDBC pooling has also changed

JDBC connection pooling maxActive or MaxTotal

2020-01-03 Thread Dave Bothwell
Hello, I am using Tomcat 8.5.11 with JDBC connection pooling. Based on the documentation it is clear that DBCP pooling has changed the maxActive attribute to maxTotal. However it is unclear, based on this document https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html, if JDBC pooling has also

Re: JDBC Connection pooling

2016-01-26 Thread Felix Schumacher
Am 22.01.2016 um 12:35 schrieb R. Sriram: Hello I am trying to establish connection pooling. Should I be using dbcp? If you want to use db connection pooling, it is probably a good idea to use the pooling method the container gives you, as it will be used by a lot of people and therefore has

JDBC Connection pooling

2016-01-22 Thread R. Sriram
Hello I am trying to establish connection pooling. Should I be using dbcp? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Resource JDBC connection pooling USING LDAP

2009-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 2/17/2009 10:46 AM, trames wrote: Thanks, that is exactly what I did. Since the documentation stated that it used apache (tomcat's version) dbcp and the BasicDataSourceFactory, I looked at the source for this class through SVN. It

Re: Resource JDBC connection pooling USING LDAP

2009-02-17 Thread trames
in context: http://www.nabble.com/Resource-JDBC-connection-pooling-USING-LDAP-tp22005711p22059917.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Resource JDBC connection pooling USING LDAP

2009-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 2/13/2009 5:02 PM, trames wrote: My goal is to NOT embed the database connection user name, password, or even server url like it is shown below. I have the ApacheDS LDAP server set up, and would like to retrieve the credentials/server

Resource JDBC connection pooling USING LDAP

2009-02-13 Thread trames
I have found lot of examples on how to set up JDBC connection pooling using the resource tags in context.xml. My goal is to NOT embed the database connection user name, password, or even server url like it is shown below. I have the ApacheDS LDAP server set up, and would like to retrieve

Re: jdbc connection pooling

2008-01-04 Thread Diego
I'm using the connection pooling on Tomcat 6. And in my case i had to put the jar from the jdbc driver on. $CATALINA_HOME/lib On Jan 4, 2008 2:05 PM, Scott McClanahan [EMAIL PROTECTED] wrote: We are about to start testing the jdbc connection pooling capabilities within tomcat. I don't have

Re: jdbc connection pooling

2008-01-04 Thread David Smith
and your webapp both have to have access to the driver when using container managed connection pools, it has to be in common/lib. --David Scott McClanahan wrote: We are about to start testing the jdbc connection pooling capabilities within tomcat. I don't have any control over the application

RE: jdbc connection pooling

2008-01-04 Thread Caldarale, Charles R
From: Scott McClanahan [mailto:[EMAIL PROTECTED] Subject: jdbc connection pooling The developer says that the jar file containing the database driver should be published within the web applications WEB-INF/lib folder while I say it should be in $CATALINA_HOME/common/lib. You

RE: jdbc connection pooling

2008-01-04 Thread Scott McClanahan
On Fri, 2008-01-04 at 10:23 -0600, Caldarale, Charles R wrote: From: Scott McClanahan [mailto:[EMAIL PROTECTED] Subject: jdbc connection pooling The developer says that the jar file containing the database driver should be published within the web applications WEB-INF/lib folder

jdbc connection pooling

2008-01-04 Thread Scott McClanahan
We are about to start testing the jdbc connection pooling capabilities within tomcat. I don't have any control over the application instead perform only administrative duties. Between the developers and myself we have done a good bit of research and mapped out a decent plan but there is one

Re: jdbc connection pooling

2008-01-04 Thread Scott McClanahan
connection pooling capabilities within tomcat. I don't have any control over the application instead perform only administrative duties. Between the developers and myself we have done a good bit of research and mapped out a decent plan but there is one unresolved dispute between us

RE: jdbc connection pooling

2008-01-04 Thread Caldarale, Charles R
From: Scott McClanahan [mailto:[EMAIL PROTECTED] Subject: RE: jdbc connection pooling I'm going to try my best to not sound ignorant but can you better explain what you mean when you say tomcat manages the connections compared to if the application (using the same apache commons projects

RE: jdbc connection pooling

2008-01-04 Thread Scott McClanahan
On Fri, 2008-01-04 at 11:16 -0600, Caldarale, Charles R wrote: From: Scott McClanahan [mailto:[EMAIL PROTECTED] Subject: RE: jdbc connection pooling I'm going to try my best to not sound ignorant but can you better explain what you mean when you say tomcat manages the connections

RE: jdbc connection pooling

2008-01-04 Thread Propes, Barry L
use. -Original Message- From: Scott McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 10:05 AM To: Tomcat Users List Subject: jdbc connection pooling We are about to start testing the jdbc connection pooling capabilities within tomcat. I don't have any control over

JDBC connection pooling problem

2006-05-02 Thread Michal Fleischhans
Hi all, I have a problem with connection pooling. Example: - about 30 applications using the pool - each application uses 1 DB username/password (30 users) imagine following situation: Only 1 application works hard, the others do nothing. This application takes for example 80% of all possible

Re: JDBC connection pooling problem

2006-05-02 Thread Marc Farrow
This sounds like poor coding to me. Your application should get the connection object from the pool and immediately release when done. Having an application hold onto a connection (especially in client/server) world is bound to cause you to run out of connections or reach timeouts. On 5/2/06,

Re: JDBC connection pooling problem

2006-05-02 Thread Michal Fleischhans
You're absolutelly right Marc, but the connection is being described by the connection context containing the username and the password. Each application has its own DB account, so as you have written bellow, the application gives the connection back to the pool BUT only the same