在Tomcat 7.0.52中使用哪个TomcatCometSupport类?

时间:2014-03-04 02:31:31

标签: java tomcat comet atmosphere

我正在将tomcat 6.0.35迁移到7.0.52,并在catalina.out中注意到以下警告消息。

2014-03-03 17:35:05,655  WARN DefaultAsyncSupportResolver - Found multiple containers, please specify which one to use: org.atmosphere.container.Tomcat7CometSupport, org.atmosphere.container.TomcatCometSupport,  until you do, Atmosphere will use:class org.atmosphere.container.Tomcat7CometSupport 

看来,atmosphere-runtime-2.0.0.RC2.jar文件包含TomcatCometSupport和Tomcat7CometSupport。目前,Tomcat7.0.52显示警告消息并使用Tomcat7CometSupport。可以忽略警告信息吗?我该如何配置tomcat容器类?建议使用哪一个?

TomcatCometSupport

Tomcat7CometSupport

我在网络应用程序中使用gwt-atmosphere。

看起来像gotsupport可以配置o.a.cpr.asyncSupport init params http://async-io.org/config_table.htmlhttps://github.com/Atmosphere/atmosphere/wiki/Forcing-Atmosphere-AsyncSupport

0 个答案:

没有答案