Tomcat ArrayIndexOutOfBoundsException in SocketBufferHandler

2018-01-18 Thread 鄢锦涛
Hello all, My environment : tomcat version is 8.5.23 (default configuration), JDK is 1.8.0_121 and Linux version is centos 3.10.0-327.el7.x86_64 With this environment, working under stress with http POST calls, After about 80 to 100 into the test we started seeing broken responses I do not

Re: release plan for tomcat 7.x for java9

2018-01-18 Thread Mukarram Baig
Hey Mark Just wanted to see if there was an update to getting a new release. Thanks!

roles stripped when using login() in tomcat 8.5 but not 8.0

2018-01-18 Thread Robert J. Carr
(Bear with me as there are a lot of details; I'll try to be as clear as possible) I've been setting up a simple application in tomcat 8.0 where some resources are protected but others aren't. I want to login using AJAX instead of FORM or BASIC so I don't have any login-config specified in my

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-18 Thread Terence M. Bandoian
On 1/18/2018 7:45 AM, Rainer Jung wrote: Just an addition to one of Mark's questions: Am 17.01.2018 um 22:20 schrieb Mark Thomas: Is it always the same threads generating the load or does it move between threads? Just in case Andreas is not aware: one can check with "top -H -p ". Using -H

Accepted Encoding of Basic Auth Header

2018-01-18 Thread Norbert Harrer
Hi. Which character encoding of user / password for the Basic Authentication Header is tomcat accepting? A pretty simple question, but I didn't find a clear answer after googling for quite a while. I know that there is no clear definition what should be used. For example browsers do it

Re: Thread-safety with sessions

2018-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Olaf, On 1/18/18 1:28 PM, Olaf Kock wrote: > > On 18.01.2018 06:37, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Mark, >> >> On 1/17/18 4:31 PM, Mark Thomas wrote: >>> On 17/01/18 17:05, Christopher Schultz

Re: Thread-safety with sessions

2018-01-18 Thread Olaf Kock
On 18.01.2018 06:37, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/17/18 4:31 PM, Mark Thomas wrote: On 17/01/18 17:05, Christopher Schultz wrote: All, I have a use-case related to caching where I need to make sure that an operation only happens one

Re: Which Connector properties will be used in case of redirection?

2018-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Suvendu, On 1/18/18 2:55 AM, Suvendu Sekhar Mondal wrote: > Hi Christopher, > > On Wed, Jan 17, 2018 at 10:41 PM, Christopher Schultz > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Suvendu, >>

Re: Thread-safety with sessions

2018-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/17/18 4:31 PM, Mark Thomas wrote: > On 17/01/18 17:05, Christopher Schultz wrote: >> All, >> >> I have a use-case related to caching where I need to make sure >> that an operation only happens one time with respect to an object >> in

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-18 Thread Greg Huber
Following this thread, I run the same setup, apache/mod_jk/ tomcat. There was a problem a while back where the cpu went to max for me, as my server is slow and thread blocking more of a possibility. https://bz.apache.org/bugzilla/show_bug.cgi?id=58151 Although this was in version 8.0.23, are

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-18 Thread Rainer Jung
Just an addition to one of Mark's questions: Am 17.01.2018 um 22:20 schrieb Mark Thomas: Is it always the same threads generating the load or does it move between threads? Just in case Andreas is not aware: one can check with "top -H -p ". Using -H lets top show one line per thread instead

Re: internalProxies regex

2018-01-18 Thread Harrie Robins
Wow that is great as well. what would the procedure be to get CIDR support into tomcat? I'm back from holiday, so I will have some time now. I guess I can start of with testing the current code. On 12 January 2018 at 16:36, Mark H. Wood wrote: > On Fri, Jan 12, 2018 at