PUSH under 7.1.2 and Tomcat BIO/NIO connectors

We had similar issues with Push on Vaadin 7.1.2 on Tomcat 7.0.42
We couldn’t figure it out and decided to switch back to Polling.

Some other things we had was:

  • If you have an Apache Webserver infront of Tomcat (Apache can not handle WebSockets) atmosphere fallback to Streaming that is OK but the Error Handling is different from UI without push (like Communication/Internal Errors did not show and the normal Tomcat 500 page will be printed - maybe even without Apache infront of tomcat

  • In some cases the Session timeout will be set to -1 (see other forum threads about this)