,main]onError null
Thread[http-bio-80-exec-5,5,main]onComplete
So it seems that the write of the data doesn't reset the timeout.
2013/5/24 Mark Thomas
> On 24/05/2013 10:27, jie tang wrote:
> > But it means that even if I write some content to response, the onTimeout
> > m
But it means that even if I write some content to response, the onTimeout
method is still called
2013/5/24 Mark Thomas
> On 24/05/2013 10:15, jie tang wrote:
> > I tried the following code:
> > final AsyncContext async = req.startAsync();
> > a
ut:
Thread[http-bio-80-exec-4,5,main]run
Thread[http-bio-80-exec-5,5,main]onTimeout
Thread[http-bio-80-exec-5,5,main]onError null
Thread[http-bio-80-exec-5,5,main]onComplete
Although the Runnable writes some content. The onTimeout method is still
invoked.
2013/5/24 jie tang
>
Thank you very much
2013/5/24 Mark Thomas
> On 24/05/2013 09:23, jie tang wrote:
> > So if I use AsyncContext.start to run a Runnable. When that Runnable does
> > some work but not write to response, will AsyncListener.onTimeout be
> > invoked?
>
> Yes, unless you
So if I use AsyncContext.start to run a Runnable. When that Runnable does
some work but not write to response, will AsyncListener.onTimeout be
invoked?
2013/5/24 Mark Thomas
> On 24/05/2013 09:16, jie tang wrote:
> > Thanks.
> >
> > So the only way to av
Thanks.
So the only way to avoid the invocation of AsyncListener.onTimeout is that
we invoke AsyncContext.complete or AsyncContext.dispatch?
2013/5/24 Mark Thomas
> On 24/05/2013 09:05, jie tang wrote:
> > Hi,
> >
> > I don't understand the meaning of timeout of
Hi,
I don't understand the meaning of timeout of an asynchronous operation.
Servlet 3.0 says "The time out applies to the AsyncContext once the
container-initiated dispatch during which one of the
ServletRequest.startAsync methods was called has returned to the container."
But when is the completi
I place a directory in Tomcat webapps directory. I want to Tomcat list files
under the directory.
When I browse the file list in my browser, the file list looks like the
following
2011-02-12_r5384_1669/ Sat, 12 Feb 2011 09:40:44 GMT
But what I need is
2011-02-12_r5384_1669/ Sat,
oes not
> happen in req.startAsync() ? Thank you.
>
> -Original Message- From: jie tang
> Sent: Tuesday, November 09, 2010 2:40 PM
> To: Tomcat Users List
> Subject: Re: NIO connecter does not work after startup normally
>
>
> You recursively invoke startAsync unlimitedl
You recursively invoke startAsync unlimitedly.
2010/11/9 Ben Xiong
> ?Another case:
>
> Web.xml
>
> http://www.w3.org/2001/XMLSchema-instance";
> xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
> xsi:schemaLocation="http://java.su
>From the exception stack.
Maybe you should use the command "ping localhost" to see whether your host
can resolve the host-name "localhost".
2010/11/3 Karthik Nanjangude
> Hi
>
> Tomcat shuts down with exception within few seconds?
>
>
>
> SPEC
> Sun JDK 1.5
> TOMCAT 6.0.29 [ Startup port 8090
11 matches
Mail list logo