Thread state differences according to Tomcat 7, 8 version.

2018-03-26 Thread 이의준
Hi ! English is not my native language; please excuse typing errors. Why is Tomcat not handling requests with 8 versions, but in the RUNNABLE state, not the TIME_WAITING state of the Tomcat 7 version? Please confirm that this operation works normally. #Tomcat 7.0.75 jdk

Re: Tomcat 8.0.38 to 9.0.6 -- Default Class Loader and Naming InitialContext

2018-03-26 Thread Behrooz Nobakht
Hi Chris, Thanks for the reply. Comments inline: On Tue, Mar 27, 2018 at 4:31 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Behrooz, > > On 3/26/18 12:26 AM, Behrooz Nobakht wrote: > > Hi, > > > > I am migrating a code base

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread Shawn Heisey
On 3/26/2018 2:39 PM, André Warnier (tomcat) wrote: > Just a question, more to satisfy my curiosity : when you have these > hundreds of "pending" connections, in what state are they, TCP/IP-wise ? Not sure where you got "pending".  I don't recall mentioning anything like that. The TCP state is ES

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread tomcat
Hi. A question at the end. On 26.03.2018 22:01, Shawn Heisey wrote: On 3/26/2018 11:28 AM, Christopher Schultz wrote: The pool doesn't kill abandoned connections. It simply removes them from the pool. Otherwise, you're right: you'd have torches and pitchforks everywhere. That is a key piece o

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread Shawn Heisey
On 3/26/2018 11:28 AM, Christopher Schultz wrote: > The pool doesn't kill abandoned connections. It simply removes them > from the pool. Otherwise, you're right: you'd have torches and > pitchforks everywhere. That is a key piece of information.  And it should have perhaps been obvious from the de

Re: Tomcat 8.0.38 to 9.0.6 -- Default Class Loader and Naming InitialContext

2018-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Behrooz, On 3/26/18 12:26 AM, Behrooz Nobakht wrote: > Hi, > > I am migrating a code base from Tomcat 8.0.38 to 9.0.6. There are a > few things I'd like to confirm based on observations so far and ask > for advice: > > 1. Default Class Loader > >

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 3/25/18 12:17 AM, Shawn Heisey wrote: > On 3/24/2018 5:04 PM, Mark Thomas wrote: >> Regarding your configuration: > auth="Container" >> factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" >> driverClassName="com.mysql.jdbc.Drive

Re: Connection closed error and certificateVerification="required"

2018-03-26 Thread Richard Tearle
Hi On 24 March 2018 at 23:06, Mark Thomas wrote: > On 23/03/18 15:00, Richard Tearle wrote: >> On 22 March 2018 at 23:06, Mark Thomas wrote: >>> On 22/03/18 15:27, Richard Tearle wrote: On 22 March 2018 at 14:49, Mark Thomas wrote: >>> >>> >>> > > I've taken another look at the configurat