]
Stuart Douglas resolved WFLY-2525.
----------------------------------
Fix Version/s: 8.0.0.CR1
Resolution: Done
Atmosphere connection fails using long-polling transport (probable
regression from WFLY-2416)
---------------------------------------------------------------------------------------------
Key: WFLY-2525
URL:
https://issues.jboss.org/browse/WFLY-2525
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (Undertow)
Affects Versions: 8.0.0.CR1
Environment: wildfly-8.0.0.Beta2-SNAPSHOT build #786 (undertow 1.0.0.beta23)
atmosphere chat-multiroom sample:
https://github.com/Atmosphere/atmosphere-samples/tree/master/samples/chat...
Reporter: John Teller
Assignee: Stuart Douglas
Fix For: 8.0.0.CR1
In previous Atmosphere tests with undertow beta20, attempting to connect using websocket
transport failed, then fell back successfully to long-polling. In latest test with
undertow beta23, websocket transport now works correctly, but attempting to connect using
long-polling transport now results in the following error:
2013-11-17 21:57:32,857 ERROR [org.atmosphere.cpr.AtmosphereFramework] (default task-6)
AtmosphereFramework exception: java.lang.IllegalStateException: UT010026: Async is not
supported for this request, as not all filters or Servlets were marked as supporting
async
at
io.undertow.servlet.spec.HttpServletRequestImpl.startAsync(HttpServletRequestImpl.java:909)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at org.atmosphere.cpr.AtmosphereRequest.startAsync(AtmosphereRequest.java:503)
[atmosphere-runtime-2.0.3.jar:2.0.3]
at
org.atmosphere.container.Servlet30CometSupport.suspend(Servlet30CometSupport.java:128)
[atmosphere-runtime-2.0.3.jar:2.0.3]
at
org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:103)
[atmosphere-runtime-2.0.3.jar:2.0.3]
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1684)
[atmosphere-runtime-2.0.3.jar:2.0.3]
at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:198)
[atmosphere-runtime-2.0.3.jar:2.0.3]
at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:184)
[atmosphere-runtime-2.0.3.jar:2.0.3]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:114)
[undertow-websockets-jsr-1.0.0.Beta23.jar:1.0.0.Beta23]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:59)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:81)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:239)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:226)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:72)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:145)
[undertow-servlet-1.0.0.Beta23.jar:1.0.0.Beta23]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:139)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:637)
[undertow-core-1.0.0.Beta23.jar:1.0.0.Beta23]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_17]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: