Installing the WebSocket Extension on Tomcat got much easier


FYI: I was able to get the SessionInitializerFilter into the code base of Tomcat 9, 8.5, 8, and 7:

This means that installing the Lucee WebSocket Extension in future versions of Tomcat (9.0 official release, 8.5.24, 8.0.48, 7.0.83 or later) will be much easier, because the filter is now deployed with Tomcat and there is no need to add an external jar file for it.

To configure the filter simply add the following snippet to your web.xml deployment descriptor:

<!-- Required for the Lucee WebSocket Extension !-->    

  <!-- modify url-pattern to match your websocket endpoint !-->

Websockets install failing for 2.x versions

That’s awesome work!