Re: HTTP communication

2016-02-01 Thread Maxim Neshcheret
between to fail and reconnect if necessary. Declaring a 10d timeout - >if it works - will cause the appropriately configured endpoint to assume >it's open. It has no effect on any of the components in between the >endpoints. > >Olaf > >Am 29.01.2016 um 09:33 schrieb An

Re: HTTP communication

2016-02-01 Thread Maxim Neshcheret
Hi Christoph There is such option in my app (heartbeats from server to client) but I’m curious why connection becomes stale if I don’t send any heartbeats. On 29/01/16 16:04, "Christoph Nenning" wrote: >> I have a problem with my java application related to HTTP communication. >> >> Applica

Re: HTTP communication

2016-02-01 Thread Maxim Neshcheret
t;André Warnier (tomcat)" wrote: >On 28.01.2016 18:38, Maxim Neshcheret wrote: >> I have a problem with my java application related to HTTP communication. >> >> Application description: >> >> 1. Client – server. Server is running in servlet container. W

HTTP communication

2016-01-28 Thread Maxim Neshcheret
I have a problem with my java application related to HTTP communication. Application description: 1. Client – server. Server is running in servlet container. We use Tomcat. Client use java HTTP library to communicate with the server. 2. When client establish connection to the server i

Re: TCP connections reuse

2015-06-16 Thread Maxim Neshcheret
Hi Mark We are using HTTP/1.1. BR, Maxim From: Mark Thomas Reply-To: Tomcat Users List Date: Tuesday 16 June 2015 16:18 To: Tomcat Users List Subject: Re: TCP connections reuse On 16/06/2015 09:25, Maxim Neshcheret wrote: Hi Christopher, We actually found what was the problem with

Re: TCP connections reuse

2015-06-16 Thread Maxim Neshcheret
at > Users List Subject: Re: TCP connections reuse > > Could this be as simple as the default keepaliveTimeout = 15000 > (i.e. 15s) > > Andy > > On 06/12/2015 11:20 AM, Christopher Schultz wrote: Maxim, > > On 6/12/15 1:53 AM, Maxim Neshcheret wrote: >>>> Ac

Re: TCP connections reuse

2015-06-11 Thread Maxim Neshcheret
From: Christopher Schultz Reply-To: Tomcat Users List Date: Thursday 11 June 2015 09:12 To: Tomcat Users List Subject: Re: TCP connections reuse -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Maxim, On 6/10/15 4:12 AM, Maxim Neshcheret wrote: I have java http client which sends

TCP connections reuse

2015-06-10 Thread Maxim Neshcheret
I have java http client which sends periodically (every 30 sec; this code is run by heartbeat thread in the cycle) heartbeats private PostResponse post(String jSessionCookie, final String action, final String data, final int postTimeoutMs) throws IOException, SSYSException {

Re: Tomcat HTTP response chunk size

2015-05-25 Thread Maxim Neshcheret
:21, Maxim Neshcheret wrote: Dear All Please advise if there are any possibility to set HTTP response chunk size for Tomcat to make it transparent for application that send HTTP response. Tomcat automatically handles chunked encoding for you. It is already transparent. Chunk size depends on

Tomcat HTTP response chunk size

2015-05-25 Thread Maxim Neshcheret
Dear All Please advise if there are any possibility to set HTTP response chunk size for Tomcat to make it transparent for application that send HTTP response. BR, Maxim

APR Buffer NullPointer Error

2015-05-20 Thread Maxim Neshcheret
Dear All I am deploying application (Tomcat 8.0.22, JDK 1.7.79, Solaris, SPARC, APR 1.5.2) and observing multiple erros while its communicates with client software (error presented below). It looks like that error happens while application writes output buffer. Any suggestion what is going wron

Interrupted while waiting for a free slot in the AsyncAppender LogEvent-queue

2015-05-13 Thread Maxim Neshcheret
Application uses log4j2 for generation of trace file (configuration is attached). During application execution I see multiple warnings related to AsycAppender: 2015-05-13 16:13:32,580 WARN Interrupted while waiting for a free slot in the AsyncAppender LogEvent-queue arASYNC_CORE 2015-05-13 16:1

CoyoteAdapter.checkRecycled Encountered a non-recycled response and recycled it forcedly.

2015-05-13 Thread Maxim Neshcheret
Tomcat experiencing problems that causes the following exception: 13-May-2015 15:39:42.886 INFO [http-apr-0.0.0.0-4089-exec-123] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled response and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$Re