Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-26 Thread Mark Thomas
On 26/06/17 14:58, Violeta Georgieva wrote: > 2017-06-26 16:35 GMT+03:00 Mark Thomas : >> >> On 26/06/17 14:18, Violeta Georgieva wrote: >>> 2017-06-26 16:13 GMT+03:00 Mark Thomas : On 23/06/17 14:47, Violeta Georgieva wrote: > 2017-06-13 15:44 GMT+03:00 Mark Thomas : >> On 13/06/

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-26 Thread Violeta Georgieva
2017-06-26 16:35 GMT+03:00 Mark Thomas : > > On 26/06/17 14:18, Violeta Georgieva wrote: > > 2017-06-26 16:13 GMT+03:00 Mark Thomas : > >> > >> On 23/06/17 14:47, Violeta Georgieva wrote: > >>> 2017-06-13 15:44 GMT+03:00 Mark Thomas : > On 13/06/17 11:05, Violeta Georgieva wrote: > > 2017-

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-26 Thread Mark Thomas
On 26/06/17 14:18, Violeta Georgieva wrote: > 2017-06-26 16:13 GMT+03:00 Mark Thomas : >> >> On 23/06/17 14:47, Violeta Georgieva wrote: >>> 2017-06-13 15:44 GMT+03:00 Mark Thomas : On 13/06/17 11:05, Violeta Georgieva wrote: > 2017-06-13 13:04 GMT+03:00 Violeta Georgieva : >> >> >> >

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-26 Thread Violeta Georgieva
2017-06-26 16:13 GMT+03:00 Mark Thomas : > > On 23/06/17 14:47, Violeta Georgieva wrote: > > 2017-06-13 15:44 GMT+03:00 Mark Thomas : > >> On 13/06/17 11:05, Violeta Georgieva wrote: > >>> 2017-06-13 13:04 GMT+03:00 Violeta Georgieva : > > > > java.lang.NullPointerException: null > >> > >> Ap

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-26 Thread Mark Thomas
On 23/06/17 14:47, Violeta Georgieva wrote: > 2017-06-13 15:44 GMT+03:00 Mark Thomas : >> On 13/06/17 11:05, Violeta Georgieva wrote: >>> 2017-06-13 13:04 GMT+03:00 Violeta Georgieva : java.lang.NullPointerException: null >> >> Appears to be the same cause as above, but triggered at a diffe

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-23 Thread Violeta Georgieva
Hi, 2017-06-13 15:44 GMT+03:00 Mark Thomas : > > On 13/06/17 11:05, Violeta Georgieva wrote: > > 2017-06-13 13:04 GMT+03:00 Violeta Georgieva : > >> > >> Hi, > >> > >> > >> 2017-06-12 21:43 GMT+03:00 Mark Thomas : > >>> > >>> On 09/06/17 16:26, Violeta Georgieva wrote: > 2017-06-09 17:25 GMT+

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-13 Thread Mark Thomas
On 13/06/17 11:05, Violeta Georgieva wrote: > 2017-06-13 13:04 GMT+03:00 Violeta Georgieva : >> >> Hi, >> >> >> 2017-06-12 21:43 GMT+03:00 Mark Thomas : >>> >>> On 09/06/17 16:26, Violeta Georgieva wrote: 2017-06-09 17:25 GMT+03:00 Mark Thomas : >>> >>> >>> > I've spent some time working

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-13 Thread Violeta Georgieva
2017-06-13 13:04 GMT+03:00 Violeta Georgieva : > > Hi, > > > 2017-06-12 21:43 GMT+03:00 Mark Thomas : > > > > On 09/06/17 16:26, Violeta Georgieva wrote: > > > 2017-06-09 17:25 GMT+03:00 Mark Thomas : > > > > > > > > >> I've spent some time working through the various possible combinations > > >>

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-13 Thread Violeta Georgieva
Hi, 2017-06-12 21:43 GMT+03:00 Mark Thomas : > > On 09/06/17 16:26, Violeta Georgieva wrote: > > 2017-06-09 17:25 GMT+03:00 Mark Thomas : > > > > >> I've spent some time working through the various possible combinations > >> of events and have concluded it is impossible to completely fix this > >

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-12 Thread Mark Thomas
On 09/06/17 16:26, Violeta Georgieva wrote: > 2017-06-09 17:25 GMT+03:00 Mark Thomas : >> I've spent some time working through the various possible combinations >> of events and have concluded it is impossible to completely fix this >> without imposing additional requirements on applications tha

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-09 Thread Violeta Georgieva
Hi, 2017-06-09 17:25 GMT+03:00 Mark Thomas : > > On 09/06/17 12:41, Mark Thomas wrote: > > On 05/06/17 09:38, Violeta Georgieva wrote: > > > > > > > >> Try with this test > >> https://github.com/violetagg/tomcat/commit/53564d4e73496cb3badcaaab81a1314cf2ed750d > > > > Thanks. That clarifies things

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-09 Thread Mark Thomas
On 09/06/17 12:41, Mark Thomas wrote: > On 05/06/17 09:38, Violeta Georgieva wrote: > > > >> Try with this test >> https://github.com/violetagg/tomcat/commit/53564d4e73496cb3badcaaab81a1314cf2ed750d > > Thanks. That clarifies things a lot. > > It boils down to what should happen when an I/O er

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-09 Thread Mark Thomas
On 05/06/17 09:38, Violeta Georgieva wrote: > Try with this test > https://github.com/violetagg/tomcat/commit/53564d4e73496cb3badcaaab81a1314cf2ed750d Thanks. That clarifies things a lot. It boils down to what should happen when an I/O error occurs reading from the request or writing to the re

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-05 Thread Violeta Georgieva
Hi, 2017-06-02 23:44 GMT+03:00 Mark Thomas : > > On 02/06/2017 10:46, Violeta Georgieva wrote: > > 2017-06-02 12:37 GMT+03:00 Mark Thomas : > >> > >> On 02/06/2017 10:23, Violeta Georgieva wrote: > >>> Hi Mark, > >>> > >>> 2017-05-22 14:28 GMT+03:00 Mark Thomas : > >> > >> > >> > I'm leaning

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-02 Thread Mark Thomas
On 02/06/2017 10:46, Violeta Georgieva wrote: > 2017-06-02 12:37 GMT+03:00 Mark Thomas : >> >> On 02/06/2017 10:23, Violeta Georgieva wrote: >>> Hi Mark, >>> >>> 2017-05-22 14:28 GMT+03:00 Mark Thomas : >> >> >> I'm leaning towards thinking this is an application bug. If the applica

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-02 Thread Violeta Georgieva
2017-06-02 12:37 GMT+03:00 Mark Thomas : > > On 02/06/2017 10:23, Violeta Georgieva wrote: > > Hi Mark, > > > > 2017-05-22 14:28 GMT+03:00 Mark Thomas : > > > > >> I'm leaning towards thinking this is an application bug. > >> > >> If the application has two non-container threads, A and B, then, as

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-02 Thread Mark Thomas
On 02/06/2017 10:23, Violeta Georgieva wrote: > Hi Mark, > > 2017-05-22 14:28 GMT+03:00 Mark Thomas : >> I'm leaning towards thinking this is an application bug. >> >> If the application has two non-container threads, A and B, then, as per >> section 2.3.3.4 of the Servlet spec, the application

Re: asyncError() is not valid while in Async state DISPATCHING

2017-06-02 Thread Violeta Georgieva
Hi Mark, 2017-05-22 14:28 GMT+03:00 Mark Thomas : > > On 10/05/17 20:50, Violeta Georgieva wrote: > > Hi, > > > > 2017-05-02 12:54 GMT+03:00 Violeta Georgieva : > >> > >> > >> 2017-05-02 12:25 GMT+03:00 Mark Thomas : > >>> > >>> On 02/05/17 09:52, Violeta Georgieva wrote: > Hi, > >

Re: asyncError() is not valid while in Async state DISPATCHING

2017-05-22 Thread Mark Thomas
On 10/05/17 20:50, Violeta Georgieva wrote: > Hi, > > 2017-05-02 12:54 GMT+03:00 Violeta Georgieva : >> >> >> 2017-05-02 12:25 GMT+03:00 Mark Thomas : >>> >>> On 02/05/17 09:52, Violeta Georgieva wrote: Hi, I have a question about Async state DISPATCHING. I have the follow

Re: asyncError() is not valid while in Async state DISPATCHING

2017-05-10 Thread Violeta Georgieva
Hi, 2017-05-02 12:54 GMT+03:00 Violeta Georgieva : > > > 2017-05-02 12:25 GMT+03:00 Mark Thomas : > > > > On 02/05/17 09:52, Violeta Georgieva wrote: > > > Hi, > > > > > > I have a question about Async state DISPATCHING. > > > > > > I have the following scenario > > > - Application invokes startAs

Re: asyncError() is not valid while in Async state DISPATCHING

2017-05-02 Thread Violeta Georgieva
2017-05-02 12:25 GMT+03:00 Mark Thomas : > > On 02/05/17 09:52, Violeta Georgieva wrote: > > Hi, > > > > I have a question about Async state DISPATCHING. > > > > I have the following scenario > > - Application invokes startAsync() and then continues processing in a > > separate non-container thread

Re: asyncError() is not valid while in Async state DISPATCHING

2017-05-02 Thread Mark Thomas
On 02/05/17 09:52, Violeta Georgieva wrote: > Hi, > > I have a question about Async state DISPATCHING. > > I have the following scenario > - Application invokes startAsync() and then continues processing in a > separate non-container thread A. > - At some point thread A makes dispatch() -> Async