Salut,
testn wrote:
> I had a problem getting servlet running on 2.0.0M3. So I fell back to 1.9.15a
> but I noticed that when I issued one request to the servlet. It looks like
> my code getting executed twice by different worker. Is it a bug in the
> implementation somewhere?
Hum...I'm not able to reproduce the issue with 1.9.16 (but I don't think
it makes a difference). Can you send me a test case?
Thanks!
-- Jeanfrancois
>
> Daemon Thread [http8080-WorkerThread(4)] (Suspended (breakpoint at line 16
> in RdsServlet))
> RdsServlet.doGet(HttpServletRequest, HttpServletResponse) line: 16
> RdsServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse)
> line: 707
> RdsServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 820
> FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 188
> FilterChainImpl.invokeFilterChain(ServletRequest, ServletResponse) line:
> 137
> ServletAdapter.service(GrizzlyRequest, GrizzlyResponse) line: 322
> ServletAdapter(GrizzlyAdapter).service(Request, Response) line: 165
> ProcessorTask.invokeAdapter() line: 746
> ProcessorTask.doProcess() line: 655
> ProcessorTask.process(InputStream, OutputStream) line: 905
> DefaultProtocolFilter.execute(Context) line: 161
> HttpProtocolChain(DefaultProtocolChain).executeProtocolFilter(Context, int)
> line: 136
> HttpProtocolChain(DefaultProtocolChain).execute(Context, int) line: 103
> HttpProtocolChain(DefaultProtocolChain).execute(Context) line: 89
> HttpProtocolChain.execute(Context) line: 76
> ProtocolChainContextTask.doCall() line: 53
> ProtocolChainContextTask(SelectionKeyContextTask).call() line: 57
> ProtocolChainContextTask(ContextTask).run() line: 69
> ThreadPoolExecutor$Worker.runTask(Runnable) line: not available
> ThreadPoolExecutor$Worker.run() line: not available
> HttpWorkerThread(Thread).run() line: not available
>
> Daemon Thread [http8080-WorkerThread(0)] (Suspended (breakpoint at line 16
> in RdsServlet))
> RdsServlet.doGet(HttpServletRequest, HttpServletResponse) line: 16
> RdsServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse)
> line: 707
> RdsServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 820
> FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 188
> FilterChainImpl.invokeFilterChain(ServletRequest, ServletResponse) line:
> 137
> ServletAdapter.service(GrizzlyRequest, GrizzlyResponse) line: 322
> ServletAdapter(GrizzlyAdapter).service(Request, Response) line: 165
> ProcessorTask.invokeAdapter() line: 746
> ProcessorTask.doProcess() line: 655
> ProcessorTask.process(InputStream, OutputStream) line: 905
> DefaultProtocolFilter.execute(Context) line: 161
> HttpProtocolChain(DefaultProtocolChain).executeProtocolFilter(Context, int)
> line: 136
> HttpProtocolChain(DefaultProtocolChain).execute(Context, int) line: 103
> HttpProtocolChain(DefaultProtocolChain).execute(Context) line: 89
> HttpProtocolChain.execute(Context) line: 76
> ProtocolChainContextTask.doCall() line: 53
> ProtocolChainContextTask(SelectionKeyContextTask).call() line: 57
> ProtocolChainContextTask(ContextTask).run() line: 69
> ThreadPoolExecutor$Worker.runTask(Runnable) line: not available
> ThreadPoolExecutor$Worker.run() line: not available
> HttpWorkerThread(Thread).run() line: not available
>