https://bz.apache.org/bugzilla/show_bug.cgi?id=59210
Bug ID: 59210 Summary: Server push example failed in tomcat 8.5.0 Product: Tomcat 8 Version: trunk Hardware: PC OS: Mac OS X 10.1 Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: huxing.zh...@gmail.com Steps to reproduce: 1. download tomcat 8.5.0 2. configure a HTTP/2 supported connector over TLS 3. start tomcat 4. visit https://localhost:8443/examples/servlets/serverpush/simpleimage Observations: HTTP Status 500 - org.apache.catalina.connector.RequestFacade cannot be cast to org.apache.catalina.connector.Request type Exception report message org.apache.catalina.connector.RequestFacade cannot be cast to org.apache.catalina.connector.Request description The server encountered an internal error that prevented it from fulfilling this request. exception java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to org.apache.catalina.connector.Request http2.SimpleImagePush.doGet(SimpleImagePush.java:38) javax.servlet.http.HttpServlet.service(HttpServlet.java:622) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) note The full stack trace of the root cause is available in the Apache Tomcat/8.5.0 logs. Apache Tomcat/8.5.0 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org