update atmosphere library

Description

Current atmosphere library in ZK web ui:

  • WEB-INF/lib/atmosphere-compat-jbossweb-1.0.4.jar,\

  • WEB-INF/lib/atmosphere-compat-tomcat-1.0.4.jar,\

  • WEB-INF/lib/atmosphere-compat-tomcat7-1.0.4.jar,\

  • WEB-INF/lib/atmosphere-runtime-1.0.4.jar,\

It seems quite old, and binding to tomcat.

I have upgraded to atmosphere-runtime-2.4.3.jar, and some minor changes to source, please refer to patch.

In Web.xml, it is configured to use servlet3 as asyncSupport, I have try to use Jetty websocket as asyncSupport, but not successful.
<init-param>
<param-name>org.atmosphere.cpr.asyncSupport</param-name>
<param-value>org.atmosphere.container.Servlet30CometSupport</param-value>
</init-param>

I am not expert for atmosphere, please help to review.

Environment

None

Attachments

1

Activity

Show:

Hiep Lq July 6, 2016 at 8:25 PM

hi i plan to use osgi bundle, so i will implement it at
https://idempiere.atlassian.net/browse/IDEMPIERE-3136

Ken Longnan March 29, 2016 at 2:13 PM

One more apply in web.xml:

<listener>
<listener-class>org.atmosphere.cpr.SessionSupport</listener-class>
</listener>

Duplicate

Details

Assignee

Reporter

Components

Priority

Created March 24, 2016 at 1:46 PM
Updated July 6, 2016 at 8:25 PM
Resolved July 6, 2016 at 8:25 PM