Веб-приложение Vaadin с принудительной отправкой на сервер не работает в OpenShift

Я создал простое веб-приложение Vaadin с сервером push, которое отлично работает локально: https://github.com/breun/lastfm-friend-ranker

Я попытался запустить его на OpenShift с помощью Tomcat 7, но хотя интерфейс отображается на http://lastfmfriendranker-breunnl.rhcloud.com/ приложение фактически не работает, и в журнале я вижу следующее:

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?
Mar 01, 2014 11:58:42 AM org.atmosphere.cpr.AtmosphereFramework doCometSupport
WARNING: Using org.atmosphere.container.Tomcat7BIOSupportWithWebSocket
Mar 01, 2014 11:58:42 AM org.atmosphere.client.TrackMessageSizeInterceptor inspect
SEVERE: IllegalStateException. AsyncWriter is null. WebSocket and org.atmosphere.client.TrackMessageSizeInterceptor won't work.

Нужно ли что-то настраивать для поддержки асинхронности в OpenShift или что-то в этом роде?

1 ответ

У меня была такая же проблема с моим заявлением. Использование с портом 8000 пока работает, пока они не поддерживают веб-сокеты на прокси-сервере по умолчанию.

Более подробная информация здесь: Vaadin не может установить соединение Websocket в OpenShift

Другие вопросы по тегам