Re: JDBC connection pooling maxActive or MaxTotal

2020-01-08 Thread Zahid Rahman
Hey Dave B. , My question from chris was for your benefit. default configuration is not the same thing as vendor neutral. chris wrote: > If you use both, you should be all set for whichever pool you use at runtime. DOH ! >If you look in your log file, you will notice that when Tomcat starts

Re: [OT] JDBC connection pooling maxActive or MaxTotal

2020-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zahid, On 1/3/20 18:50, zahid wrote: > Is commons-dbcp-2.x a Database pooling component for any > container Jetty,Jboss tomcat etc. ? Yes. Tomcat ships with a shaded (package-renamed) version of commons-dbcp as well as tomcat-pool, a separate

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 document >

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-03 Thread zahid
chris, Is commons-dbcp-2.x   a Database pooling component for any container Jetty,Jboss tomcat   etc. ? is commons-dbcp-2.x a third option, separate option from the two pooling options [tomcat-pool and commons-pool] you mentioned ? On 03/01/2020 23:21, Dave Bothwell wrote: Chris, That

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 Tomcat 8.5.11 with JDBC connection

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 unclear, based on >

Re: JDBC connection pooling maxActive or MaxTotal

2020-01-03 Thread zahid
|I hope these descriptions of the setting helps you in making a decision as to the value. | |maxActive| (int) The maximum number of active connections that can be allocated from this pool at the same time. The default value is |100||| | | On 03/01/2020 18:47, Dave Bothwell wrote: Hello,

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