Re: AJP Connector not throwing EOFException

2018-01-26 Thread Emanuel Hategan
Hi Chris, in order to conclude on this thread could you please answer my final question now that I understood what the source of the problem is? So, is there is a way to have connections between apache and tomcat closed when aborted? I've found recovery_options 4 for ajp workers which closes

Re: AJP Connector not throwing EOFException

2018-01-22 Thread Emanuel Hategan
Hi Chris, > 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. > > > > read=-1 solely does not provide sufficient information to be able > > to distinguish

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: 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: AJP Connector not throwing EOFException

2018-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 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

Re: AJP Connector not throwing EOFException

2018-01-17 Thread emah
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 one is accessed >> through an apache2 instance configured with mod_jk.It

Re: AJP Connector not throwing EOFException

2018-01-16 Thread emah
Hi Chris, thank you for responding promptly. Let me first correct something I've said earlier: HTTP Connector will actually throw an IOException when ssl unwrap fails (rather than an EOFException) at org.apache.tomcat.util.net.SecureNioChannel.read(SecureNioChannel.java:618)

Re: AJP Connector not throwing EOFException

2018-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Emanuel, On 1/16/18 10:13 AM, Emanuel Hategan 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 one is

AJP Connector not throwing EOFException

2018-01-16 Thread Emanuel Hategan
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 one is accessed through an apache2 instance configured with mod_jk.It all works well in the normal use case. The