我试图将 Vaadin 与 Phonegap/Cordova 集成。我按照此存储库中的说明进行操作。问题是当我暂停手机时应用程序冻结。
当我在我的 android 手机中关闭屏幕时的 Tomcat 日志:
AVVERTENZA: Duplicate resource 782acdbe-068d-4405-a215-5770fd14086b. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
giu 01, 2016 5:51:53 PM org.atmosphere.cpr.DefaultBroadcaster addAtmosphereResource
AVVERTENZA: Duplicate resource 782acdbe-068d-4405-a215-5770fd14086b. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
giu 01, 2016 5:51:53 PM org.atmosphere.cpr.DefaultBroadcaster addAtmosphereResource
AVVERTENZA: Duplicate resource 782acdbe-068d-4405-a215-5770fd14086b. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
giu 01, 2016 5:51:53 PM org.atmosphere.cpr.DefaultBroadcaster addAtmosphereResource
AVVERTENZA: Duplicate resource 782acdbe-068d-4405-a215-5770fd14086b. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
我认为问题出在推送技术上,我使用长轮询,但是当我切换到WebSocket
. 这是 JS 控制台输出。
对此有什么帮助吗?有人有同样的经历吗?