users@grizzly.java.net

Grizzly 1.9.15a: Bug with servlet?

From: testn <test1_at_doramail.com>
Date: Sun, 7 Jun 2009 07:56:50 -0700 (PDT)

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?

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

-- 
View this message in context: http://www.nabble.com/Grizzly-1.9.15a%3A-Bug-with-servlet--tp23911852p23911852.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.