[
https://issues.jboss.org/browse/RF-13179?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-13179:
---------------------------------
Note that the auto-registration happens after @WebServlet annotation registers.
a4j:push test using WildFly throws exception
--------------------------------------------
Key: RF-13179
URL:
https://issues.jboss.org/browse/RF-13179
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-push/poll
Affects Versions: 5.0.0.Alpha1
Environment: RichFaces 5.0.0-SNAPSHOT
Metamer 5.0.0-SNAPSHOT
WildFly: JSF Injection Handlers 8.0.0.Alpha4
JBoss AS 8.0.0.Alpha4
Java(TM) SE Runtime Environment 1.7.0_25-b15 @ Linux
Firefox 23.0 @ Linux x86_64
Reporter: Matej Novotny
Assignee: Lukáš Fryč
Fix For: 5.0.0.Alpha3
Original Estimate: 1 hour
Remaining Estimate: 1 hour
Running Metamer test for a4jPush component - TestTwoPushCDI - on WildFly 8.0.0.Alpha4
(wildfly-remote-8-0 profile) throws a below posted exception. Same test using JBossAS 7.1
(jbossas-remote-7-1 profile) works correctly.
{code}
13:48:56,609 ERROR [io.undertow.request] (default task-19) Servlet request failed
HttpServerExchange{ GET /metamer/__richfaces_push}: 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:876)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at org.atmosphere.cpr.AtmosphereRequest.startAsync(AtmosphereRequest.java:565)
[atmosphere-runtime-1.0.10.jar:1.0.10]
at
org.atmosphere.container.Servlet30CometSupport.suspend(Servlet30CometSupport.java:137)
[atmosphere-runtime-1.0.10.jar:1.0.10]
at
org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:103)
[atmosphere-runtime-1.0.10.jar:1.0.10]
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1370)
[atmosphere-runtime-1.0.10.jar:1.0.10]
at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:293)
[atmosphere-runtime-1.0.10.jar:1.0.10]
at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:279)
[atmosphere-runtime-1.0.10.jar:1.0.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
[jboss-servlet-api_3.1_spec-1.0.0.Beta1.jar:1.0.0.Beta1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Beta1.jar:1.0.0.Beta1]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:136)
[undertow-websockets-jsr-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:136)
[undertow-websockets-jsr-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:56)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
[undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
[undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70)
[undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at
org.wildfly.extension.undertow.security.SecurityContextCreationHandler.handleRequest(SecurityContextCreationHandler.java:54)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:207)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:194)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:72)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:128)
[undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36)
[undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:628)
[undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
{code}
--
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:
http://www.atlassian.com/software/jira