I have some Vaadin Push related questions:
Is it possible to use Vaadin Push in combination with Internet Explorer 8?
Is it possible to configure Vaadin Push (Atmosphere) so that it doesn’t use Websockets? (there is a limitation in the infrastructure which doesn’t allow us to Websockets)
I’m using Vaadin 7.1.7, is it sufficient to only add the atmosphere-runtime-1.0.14.vaadin4.jar to the classpath?
Unfortunately I’m getting the following error when accessing the web application (which probably was the reason why we have the atmosphere-runtime.jar in the classpath).
Atmosphere could not be loaded. When using push with Vaadin, the
Atmosphere framework must be present on the classpath.
If using a dependency management system, please add a dependency
to vaadin-push.
If managing dependencies manually, please make sure Atmosphere
1.0.14.vaadin4 is included on the classpath.
Will fall back to using PushMode.DISABLED.
Oh okay so you’re not using any dependency management system like Ivy (which comes with the Vaadin Plugin for Eclipse) or Maven?
If that’s the case you probably have to add the atmosphere jar to the classpath. Sry about that but the more common case on here is someone using a Dependency management like Ivy or Maven.
No, we’re using Ant and are handling the jars ourselves Can you tell me if it’s sufficient to have only the atmosphere-runtime-1.0.14.vaadin4.jar in the classpath or do I need more?
Candiates are
That’s what I ended up doing now too I compared to a Ivy/Eclipse Vaadin Plugin Project and they use those two as well.
I changed the transport like you said: @Push(transport = Transport.STREAMING)
Unfortunately I’m getting the following error (which I get also when I connected to my Vaadin app with IE 8):
Feb 04, 2014 3:50:08 PM org.atmosphere.cpr.AtmosphereFramework doCometSupport
WARNING: Failed using comet support: org.atmosphere.container.Tomcat7AsyncSupportWithWebSocket, error: Tomcat failed to detect this is a Comet application because context.xml is missing or the Http11NioProtocol Connector is not enabled.
If that's not the case, you can also remove META-INF/context.xml and WEB-INF/lib/atmosphere-compat-tomcat.jar Is the Nio or Apr Connector enabled?
Feb 04, 2014 3:50:08 PM org.atmosphere.cpr.AtmosphereFramework doCometSupport
WARNING: Using org.atmosphere.container.Tomcat7BIOSupportWithWebSocket
Something is not configured correctly but I’m not able to figure out what exactly ;/