我正在将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容器类?建议使用哪一个?
我在网络应用程序中使用gwt-atmosphere。
看起来像gotsupport可以配置o.a.cpr.asyncSupport init params http://async-io.org/config_table.html,https://github.com/Atmosphere/atmosphere/wiki/Forcing-Atmosphere-AsyncSupport