Mantis - Resin
Viewing Issue Advanced Details
4534 minor always 05-05-11 10:41 05-19-11 14:53
ferg  
ferg  
normal  
closed 4.0.17  
fixed  
none    
none 4.0.19  
0004534: comet/async toComplete issue
(rep by Brent Plump)


[2011-05-03 09:35:17.822] java.lang.IllegalStateException: Comet cannot be requested after complete(). at com.caucho.network.listen.TcpSocketLink.toComet(TcpSocketLink.java:920) at com.caucho.server.http.AsyncContextImpl.restart(AsyncContextImpl.java:85) at com.caucho.server.http.HttpServletRequestImpl.startAsync(HttpServletRequestImpl.java:1766) at com.caucho.server.http.HttpServletRequestImpl.startAsync(HttpServletRequestImpl.java:1736) at com.caucho.server.dispatch.CometServletFilterChain$ServletCometController.suspend(CometServletFilterChain.java:175) at com.caucho.server.dispatch.CometServletFilterChain.doFilter(CometServletFilterChain.java:116) at com.lmax.hcf.web.InvocationContextFilter.doFilter(InvocationContextFilter.java:70) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:126) at com.caucho.server.webapp.ResumeFilterChain.doFilter(ResumeFilterChain.java:142) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:287) at com.caucho.server.webapp.RequestDispatcherImpl.dispatchResume(RequestDispatcherImpl.java:510) at com.caucho.server.webapp.RequestDispatcherImpl.dispatchResume(RequestDispatcherImpl.java:124) at com.caucho.server.http.AbstractHttpRequest.handleResume(AbstractHttpRequest.java:1512) at com.caucho.network.listen.TcpSocketLink.doResume(TcpSocketLink.java:1016) at com.caucho.network.listen.ResumeTask.doTask(ResumeTask.java:63) at com.caucho.network.listen.ConnectionReadTask.runThread(ConnectionReadTask.java:98) at com.caucho.network.listen.ConnectionReadTask.run(ConnectionReadTask.java:81) at com.caucho.network.listen.ResumeTask.run(ResumeTask.java:54) at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164) at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)

Notes
(0005265)
ferg   
05-19-11 14:53   
Note: it's recommended to upgrade to the Servlet 3.0 API.