[
https://issues.jboss.org/browse/RF-11953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664384#comment-12664384
]
Lukáš Fryč commented on RF-11953:
---------------------------------
This is caused by introduction of {{ServletRequest#getServletContext()}} in
Servlet 3.0.
> showcase - a4j:push - demos do not work on Tomcats
> --------------------------------------------------
>
> Key: RF-11953
> URL: https://issues.jboss.org/browse/RF-11953
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll, showcase
> Environment: container: Tomcat 6.0.32, Tomcat 7.0.20
> app: RichFaces showcase 4.2.0.CR1
> Reporter: Juraj Huska
> Priority: Critical
>
> The demos for a4j:push are not working at all. There is just error on firebug:
> {code}
> java.lang.RuntimeException: javax.servlet.ServletException: Throwable
>
> org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:154)
>
> org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:219)
>
> org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:154)
>
> org.atmosphere.container.BlockingIOCometSupport.service(BlockingIOCometSupport.java:89)
>
> org.atmosphere.cpr.AtmosphereServlet.doCometSupport(AtmosphereServlet.java:1217)
> org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:1176)
> org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:1162)
> org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:125)
> </pre></p><p><b>root cause</b> <pre>javax.servlet.ServletException: Throwable
>
> org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:147)
>
> org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:116)
>
> org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:293)
>
> org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:151)
>
> org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:219)
>
> org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:154)
>
> org.atmosphere.container.BlockingIOCometSupport.service(BlockingIOCometSupport.java:89)
>
> org.atmosphere.cpr.AtmosphereServlet.doCometSupport(AtmosphereServlet.java:1217)
> org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:1176)
> org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:1162)
> org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:125)
> </pre></p><p><b>root cause</b> <pre>java.lang.NoSuchMethodError:
> javax.servlet.ServletRequest.getServletContext()Ljavax/servlet/ServletContext;
>
> org.richfaces.webapp.PushHandlerFilter.getSessionManager(PushHandlerFilter.java:123)
>
> org.richfaces.webapp.PushHandlerFilter.doFilter(PushHandlerFilter.java:84)
>
> org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:139)
>
> org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:116)
>
> org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:293)
>
> org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:151)
>
> org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:219)
>
> org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:154)
>
> org.atmosphere.container.BlockingIOCometSupport.service(BlockingIOCometSupport.java:89)
>
> org.atmosphere.cpr.AtmosphereServlet.doCometSupport(AtmosphereServlet.java:1217)
> org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:1176)
> org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:1162)
> org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:125)
> {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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues