- 浏览: 5826 次
- 性别:
- 来自: 深圳
-
最新评论
-
sushaojun:
搞定!
这是 [org.directwebremoting.s ...
jetty+dwr实现Comet Web应用 ,怎么总出现异常:"远程主机强迫关闭了一个现有的连接"
文章列表
org.directwebremoting.impl.ContainerUtil:
public static void setupDefaults(DefaultContainer container, ServletConfig servletConfig) throws InstantiationException, IllegalAccessException
{
... ...
if (servletConfig.getServletContext().getServerInfo().startsWith("jetty-" ...
项目中需要实现Comet push机制,采用jetty7+dwr2.06。当页面刷新时,经常会出现异常信息,但异常并不妨碍功能的实现,照样可以push数据,不过出现异常总感到不爽,不知道是否有人遇到过,有没有可以避免的方法。 下面异常信息:
2010-5-11 22:43:38 org.directwebremoting.util.CommonsLoggingOutput warn
警告: Unhandled Exception
org.eclipse.jetty.io.RuntimeIOException: org.eclipse.jetty.io.EofException
...