[
https://issues.jboss.org/browse/SOLDER-312?page=com.atlassian.jira.plugin...
]
Mister S commented on SOLDER-312:
---------------------------------
I've run into the same Issue described here when trying to use Resteasy's async
capabilities together with Seam-Security (which in turn use Solder). I've described
this here:
https://community.jboss.org/message/724736 (includes some sample code for
reproducing it).
Solder filters prevent async servlet actions like Richfaces CDI push
--------------------------------------------------------------------
Key: SOLDER-312
URL:
https://issues.jboss.org/browse/SOLDER-312
Project: Solder
Issue Type: Bug
Components: Exception Handling, Servlet
Affects Versions: 3.1.0.Final
Environment: RF 4.1.0 Final
AS 7.0.2
Reporter: Cody Lerum
When using the RF 4.1.0 CDI push functionality with Sodler I'm seeing the following
exception repeated over and over.
Doing a breakpoint on org.apache.catalina.connector.Request.startAsync reveals that it is
checking for the asyncSupported property on the Filters and two of my filters report as
asyncSupported=false
org.jboss.solder.servlet.event.ServletEventBridgeFilter
org.jboss.solder.servlet.exception.CatchExceptionFilter
{code}
16:03:45,942 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/oss].[AutoRegisteredPushServlet]]
(http-localhost-127.0.0.1-8080-3) Servlet.service() for servlet AutoRegisteredPushServlet
threw exception: java.lang.IllegalStateException: The servlet or filters that are being
used by this request do not support async operation
at org.apache.catalina.connector.Request.startAsync(Request.java:3193)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.Request.startAsync(Request.java:3187)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:990)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.atmosphere.container.Servlet30CometSupport.suspend(Servlet30CometSupport.java:126)
[atmosphere-runtime-0.8.0-RC1.jar:]
at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:90)
[atmosphere-runtime-0.8.0-RC1.jar:]
at
org.atmosphere.container.Servlet30CometSupportWithWebSocket.service(Servlet30CometSupportWithWebSocket.java:124)
[atmosphere-runtime-0.8.0-RC1.jar:]
at org.atmosphere.cpr.AtmosphereServlet.doCometSupport(AtmosphereServlet.java:1159)
[atmosphere-runtime-0.8.0-RC1.jar:]
at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:1140)
[atmosphere-runtime-0.8.0-RC1.jar:]
at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:1126)
[atmosphere-runtime-0.8.0-RC1.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[weld-core-1.1.2.Final.jar:2011-07-26 15:02]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
[solder-impl-3.1.0.CR1.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
[solder-impl-3.1.0.CR1.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:126)
[prettyfaces-jsf2-3.3.2.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49)
[jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira