Internals of setMaxInactiveInterval

2021-07-12 Thread Saurav Sarkar
Hi All, I would like to understand the internals of Session~setMaxInactiveInterval in tomcat. I understand that if HTTP requests are not received within the said interval then the session is cleared. All the objects belonging to the session will be gone. Does that also mean that the existing

HTTP error response payload

2020-02-07 Thread Saurav Sarkar
Hi All, Through tomcat access valve i can view the HTTP request url ,response code etc. But i can not view the error response being sent in the form of JSON payload. Is their any valve/filter/ any other setting on tomcat level which can enable this or applications (server and clients)

Re: Getting more information on connection refused error

2019-11-13 Thread Saurav Sarkar
Yes...i thought so...thanks for the JMX hint Chris. Best Regards, Saurav On Wed, Nov 13, 2019 at 10:00 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Saurav, > > On 11/13/19 10:19, Saurav Sarkar wrote

Getting more information on connection refused error

2019-11-13 Thread Saurav Sarkar
Hi All, We invoke one service which runs on a OSGI Virgo based embeddable tomcat servlet container. org.eclipse.gemini.web.tomcat_2.2.6.RELEASE.jar is the version we use. After sending some load to the service, it starts giving "connection refused error". errno: 111 (Connection refused), error:

Re: Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
ge()); return; } } On Wed, Mar 20, 2019 at 6:26 PM Olaf Kock wrote: > > > On 20.03.19 12:08, Saurav Sarkar wrote: > > Just to add the stack trace. > > > > I am getting ClientAbortException "Connection reset by peer" when i am > > trying to write t

Re: Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
r.java:352) 2019-03-20T10:32:28.502+ [APP/PROC/WEB/0] ERR ... 39 more On Wed, Mar 20, 2019 at 3:51 PM Saurav Sarkar wrote: > Hi All > > I have a very basic test application which serves bytes from memory and > gives it back to the client. > > Whenever i try to send the

Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
Hi All I have a very basic test application which serves bytes from memory and gives it back to the client. Whenever i try to send the request for byte size which is of over 2 GB i get a connection reset error in my server code and a 502 error in my chrome console. Below 2 GB it is working fine.

Re: Parsing of multi part content

2019-01-07 Thread Saurav Sarkar
, Jan 3, 2019 at 3:20 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Saurav, > > On 1/2/19 12:20, Saurav Sarkar wrote: > > Hi All, > > > > This is regarding the reading of

Parsing of multi part content

2019-01-02 Thread Saurav Sarkar
Hi All, This is regarding the reading of multi part content in java server side. ServletRequest has an API getParts() API for reading the parts of a multi part request https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getParts() . It has part.getInputStream which

Re: Connector protocol and request handling in Tomcat 8

2018-12-04 Thread Saurav Sarkar
my threads. Please provide your further inputs. Best Regards, Saurav On Mon, Dec 3, 2018 at 10:26 PM Mark Thomas wrote: > On 03/12/2018 15:26, Saurav Sarkar wrote: > > Thanks a lot Mark for the reply. > > > > Please bear with me for my follow up questions :) > &

Re: Connector protocol and request handling in Tomcat 8

2018-12-03 Thread Saurav Sarkar
to. Best Regards, Saurav On Mon, Dec 3, 2018 at 4:14 PM Mark Thomas wrote: > On 03/12/2018 09:24, Saurav Sarkar wrote: > > Hi All, > > > > I want to know the connector's protocol which is being used in my tomcat > 8 > > container and clear the behaviour of request

Connector protocol and request handling in Tomcat 8

2018-12-03 Thread Saurav Sarkar
Hi All, I want to know the connector's protocol which is being used in my tomcat 8 container and clear the behaviour of request handling We have a cloud foundry based application running on java build pack. Below is the connector settings in server.xml It does not show any connector

Basic question related to NIO connector and Async servlet processing

2017-10-11 Thread Saurav Sarkar
Hi All, I have got a basic question related to usage of Async servlet with tomcat NIO connector. I want to use Async servlet with Non Block I/O as per servlet spec