0

I tried to integrate Vaadin with Phonegap/Cordova. I follow the instructions in this repository. The problem is that the application freeze when I pause the phone.

Tomcat log when I turn off the screen in my android phone:

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

I presume that the problem is with the push technology, I use long polling, but the problem is the same when I switch to WebSocket. This is the JS console output.

output console

Any help on this? Anyone has the same experience?

Gustavo Morales
  • 2,614
  • 9
  • 29
  • 37
Tiziano
  • 51
  • 4

0 Answers0