Re: AJP Connector not throwing EOFException

2018-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Emanuel, On 1/19/18 12:37 PM, Emanuel Hategan wrote: > Forget about EOFException, that was my mistake in the first email > (and subject). I'm interested in improved handling of aborted > connections (at least most of them). That's my end goal. > >

Re: Thread-safety with sessions

2018-01-19 Thread Mark Thomas
On 19/01/18 20:40, Christopher Schultz wrote: > Mark, > > On 1/19/18 3:04 AM, Mark Thomas wrote: >> On 18/01/18 20:11, Christopher Schultz wrote: >>> Speaking of "expensive" objects, we do have a "user" object in >>> the session. If the user isn't there, we throw all kinds of >>> exceptions and

Re: Thread-safety with sessions

2018-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/19/18 3:04 AM, Mark Thomas wrote: > On 18/01/18 20:11, Christopher Schultz wrote: >> Speaking of "expensive" objects, we do have a "user" object in >> the session. If the user isn't there, we throw all kinds of >> exceptions and don't

Supporting on-line deployment through JMX

2018-01-19 Thread David Cleary
We have web applications that require tailoring when being deployed. If Tomcat is running, we can start the context after tailoring with a deploy call to Manager. That is fine for development, but for production, the Manager web app is usually not there. Is there an mbean I can call that

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

2018-01-19 Thread Mark Thomas
On 19/01/2018 14:35, Toom Andreas wrote: > Hi Mark, > > Sorry for the late reply, it has been a couple of busy days. > > We are running our application on two nodes and we have seen the issue on > both nodes. These machines are running quad core cpus. What we have usually > seen is that the

Re: AJP Connector not throwing EOFException

2018-01-19 Thread Emanuel Hategan
Chris, Emah, > > On 1/17/18 10:17 AM, emah wrote: > > Chris, > > > > > > Christopher Schultz-2 wrote > >>> I'm running a tomcat 8.5.23 instance on ubuntu 16.04 (spring > >>> boot application with embedded tomcat) configured with 2 > >>> connectors: Http11NioProtocol and AjpNioProtocol. The AJP

Re: release plan for tomcat 7.x for java9

2018-01-19 Thread Violeta Georgieva
Hi, 2018-01-19 14:18 GMT+02:00 Mukarram Baig : > > Thanks for the update, Mark. > > On 19/01/18 00:06, Mukarram Baig wrote: > > Hey Mark > > > > Just wanted to see if there was an update to getting a new release. > > 9.0.x and 8.5.x are happening now. Best guess is 8.0.x

Re: Tomcat release for java9

2018-01-19 Thread Violeta Georgieva
2018-01-19 18:45 GMT+02:00 Violeta Georgieva : > > Hi, > > 2018-01-19 15:17 GMT+02:00 Gupta, Shaina : > > > > Hello, > > > > Could you please let me know when can we expect a new release for tomcat which would support java9. > > > > I can see that

Re: Tomcat release for java9

2018-01-19 Thread Violeta Georgieva
Hi, 2018-01-19 15:17 GMT+02:00 Gupta, Shaina : > > Hello, > > Could you please let me know when can we expect a new release for tomcat which would support java9. > > I can see that the endorsed directory related issue in tomcat 7.x for running in java9 has been fixed in

Re: Accepted Encoding of Basic Auth Header

2018-01-19 Thread tomcat
On 19.01.2018 11:39, jose luis Calvo wrote: NO ME ENVIEN MAS MENSAJES POR FAVOR Para acabar con los mensajes, las intrucciones estan al final de cada mensaje : To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org Significa : desde el mismo buzón recibiendo estos mensajes no deseados,

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

2018-01-19 Thread Toom Andreas
Hi Rainer, Thanks for your reply! We did a restart of the application earlier this week and so far the cpu usage is at normal levels. If/when the cpu usage goes up I will check with your suggested parameters! Best regards, Andreas -Original Message- From: Rainer Jung

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

2018-01-19 Thread Toom Andreas
Hi Mark, Sorry for the late reply, it has been a couple of busy days. We are running our application on two nodes and we have seen the issue on both nodes. These machines are running quad core cpus. What we have usually seen is that the application jvm process is consuming 100% (basically one

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

2018-01-19 Thread Toom Andreas
Hi Greg, Thanks for looking into this issue. Unfortunately I am 100% sure we are running Tomcat 8.0.47 so the referenced patch/fix is already applied. Best regards, Andreas -Original Message- From: Greg Huber [mailto:gregh3...@gmail.com] Sent: den 18 januari 2018 14:56 To: Tomcat

Tomcat release for java9

2018-01-19 Thread Gupta, Shaina
Hello, Could you please let me know when can we expect a new release for tomcat which would support java9. I can see that the endorsed directory related issue in tomcat 7.x for running in java9 has been fixed in

Tomcat release for java9

2018-01-19 Thread Gupta, Shaina
Hello, Could you please let me know when can we expect a new release for tomcat which would support java9. I can see that the endorsed directory related issue in tomcat 7.x for running in java9 has been fixed in

Re: release plan for tomcat 7.x for java9

2018-01-19 Thread Mukarram Baig
Thanks for the update, Mark. On 19/01/18 00:06, Mukarram Baig wrote: > Hey Mark > > Just wanted to see if there was an update to getting a new release. 9.0.x and 8.5.x are happening now. Best guess is 8.0.x and 7.0.x will follow. Mark

Re: Accepted Encoding of Basic Auth Header

2018-01-19 Thread jose luis Calvo
NO ME ENVIEN MAS MENSAJES POR FAVOR 2018-01-19 11:21 GMT+01:00 Norbert Harrer : > On 19.01.2018 09:10, Mark Thomas wrote: >> >> On 18/01/18 21:04, Norbert Harrer wrote: >>> >>> Hi. >>> >>> Which character encoding of user / password for the Basic Authentication >>> Header is

Re: Accepted Encoding of Basic Auth Header

2018-01-19 Thread Mark Thomas
On 19/01/18 10:21, Norbert Harrer wrote: > On 19.01.2018 09:10, Mark Thomas wrote: >> On 18/01/18 21:04, Norbert Harrer wrote: >>> Hi. >>> >>> Which character encoding of user / password for the Basic Authentication >>> Header is tomcat accepting? >>> >>> A pretty simple question, but I didn't

Re: Accepted Encoding of Basic Auth Header

2018-01-19 Thread Norbert Harrer
On 19.01.2018 09:10, Mark Thomas wrote: On 18/01/18 21:04, Norbert Harrer wrote: 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

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

2018-01-19 Thread Robert J. Carr
OK, thanks Mark, I'll try to come up with a test plan, but I'm seriously pressed for time as this has eaten two full days. Thanks again for the help! On Fri, Jan 19, 2018 at 12:14 AM, Mark Thomas wrote: > On 18/01/18 22:03, Robert J. Carr wrote: > > (Bear with me as there are

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

2018-01-19 Thread Robert J. Carr
In my last (long) email I described how adding a BASIC login-config changes things and the roles are no longer getting stripped when using login() (even when never triggering a basic prompt). I figured I'd use this as a workaround until I figure out what is really going wrong. However, now I've

Re: release plan for tomcat 7.x for java9

2018-01-19 Thread Mark Thomas
On 19/01/18 00:06, Mukarram Baig wrote: > Hey Mark > > Just wanted to see if there was an update to getting a new release. 9.0.x and 8.5.x are happening now. Best guess is 8.0.x and 7.0.x will follow. Mark - To unsubscribe,

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

2018-01-19 Thread Mark Thomas
On 18/01/18 22:03, Robert J. Carr wrote: > (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

Re: Accepted Encoding of Basic Auth Header

2018-01-19 Thread Mark Thomas
On 18/01/18 21:04, Norbert Harrer wrote: > 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

Re: Thread-safety with sessions

2018-01-19 Thread Mark Thomas
On 18/01/18 20:11, Christopher Schultz wrote: > 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