Hi. I am trying to get the WebSockets extension working with Lucee in Docker. I have watched the videos.
I am following the Getting Started page from here:
and am confused by this requirement: Save the jar file servlet-filter-utils-1.1.1.jar to the classpath
Where do I get that jar from? I am new to Lucee so I might be missing the obvious. On the other hand, the instructions are 5 years old so things might have changed.
Has anyone been able to get websockets working with commandbox? Keep getting a HTTPSessionFilter not initialized error, even though have the jar file and config in web.xml per instructions
Websockets do not work with the latest version of Lucee. They stopped working when Lucee starting shipping with Tomcat 9 (not sure which version). Igal has basically told me he is not interested in doing any work on his extension to make them work. I’ve heard chatter that websockets will be supported in Lucee 6, but I haven’t had any luck getting more information about when/if that is the case, and if it is, whether it would be offered as a Lucee 5 extension.
To echo @martin , we have been able to use Websockets with Lucee on Apache Tomcat/9.0.56. On this setup, it’s been working pretty well and has been stable since using @martin 's code for the multiple endpoints may not be deployed issue.
With regards to Websockets on Commandbox/Lucee, still not able to get it working. Seems to be stuck on trying to upgrade the connection.
I just like to say what I’ve learnt at cfcamp. From now on @Igal Websocket Extension isn’t available anymore in the admin. Instead, the Lucee Team published these days their Websocket Extension that just moved from beta to RC. More information can be found at their recipe page at github: