Hi Rossen,
On Tue, Sep 24, 2013 at 4:35 PM, Rossen Stoyanchev < rstoyanc...@gopivotal.com> wrote: > I am getting a ClassCastException when using (non JSR-356) upgrade, > i.e. WsServerContainer.doUpgrade: > > Caused by: java.lang.ClassCastException: > > org.springframework.security.web.servletapi.HttpServlet3RequestFactory$Servlet3SecurityContextHolderAwareRequestWrapper > cannot be cast to org.apache.catalina.connector.RequestFacade > See https://github.com/apache/wicket/blob/master/wicket-experimental/wicket-native-websocket/wicket-native-websocket-tomcat/src/main/java/org/apache/wicket/protocol/ws/tomcat7/Tomcat7WebSocketFilter.java#L81 I had to add this code exactly because of Spring Security - https://issues.apache.org/jira/browse/WICKET-5266. But it is valid for any other usage of HttpServletRequestWrapper > at > org.apache.tomcat.websocket.server.UpgradeUtil.doUpgrade(UpgradeUtil.java:183) > at > org.apache.tomcat.websocket.server.WsServerContainer.doUpgrade(WsServerContainer.java:235) > at > org.springframework.web.socket.server.support.TomcatRequestUpgradeStrategy.upgradeInternal(TomcatRequestUpgradeStrategy.java:77) > at > org.springframework.web.socket.server.support.AbstractStandardUpgradeStrategy.upgrade(AbstractStandardUpgradeStrategy.java:59) > at > org.springframework.web.socket.server.DefaultHandshakeHandler.doHandshake(DefaultHandshakeHandler.java:183) > at > org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler.handleRequest(WebSocketTransportHandler.java:82) > > Also what's the equivalent of the Tomcat 8 tomcat-websocket > dependency? I see the 7.0.44 binary has tomcat7-websocket.jar but I > Here is what I use for Apache Wicket integration: https://github.com/apache/wicket/blob/master/wicket-experimental/wicket-native-websocket/wicket-native-websocket-tomcat/pom.xml#L43 > can't find such a dependency in the staging maven repository. > > Thanks, > Rossen > > > On Mon, Sep 23, 2013 at 4:58 PM, Violeta Georgieva <miles...@gmail.com> > wrote: > > The proposed Apache Tomcat 7.0.44 release is now available for voting. > > This release candidate contains JSR-356 Java WebSocket 1.0 > implementation. > > Note that use of this functionality requires Java 7. > > > > It can be obtained from: > > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.44/ > > The Maven staging repo is: > > https://repository.apache.org/content/repositories/orgapachetomcat-090/ > > The svn tag is: > > http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_44/ > > > > The proposed 7.0.44 release is: > > [ ] Broken - do not release > > [ ] Stable - go ahead and release as 7.0.44 Stable > > > > Regards > > Violeta > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >