Websocket Extension not loading with Lucee 6.2

Description

When installing Websocket extension (07082C66-510A-4F0B-B5E63814E2FDF7BE) via Lucee Admin, ENV variable or by uploading the .lex file, websocket listener does not register with the tomcat container.

Get the following error :

Result: websocket connections to the server fail and do not trigger .CFCs in the websocket directory.

Environment

On Lucee base Docker image lucee/lucee:6.2.0.321-light

Using Websocket Extension (07082C66-510A-4F0B-B5E63814E2FDF7BE) from the lucee download registry.

Activity

Show:

JP last month

I upgraded to Lucee 6.2.1.83-SNAPSHOT and Websockets 3.0.0.15-SNAPSHOT and when calling websocketInfo() I get the exception: javax/websocket/DeploymentException The first exception in application.log is:

Zac Spitzer 25 March 2025 at 22:13
Edited

Fixed the CI, added some incredibly detailed tests (a one liner for now) and a README.md

Zac Spitzer 25 March 2025 at 13:34

Coz we support upgrading in place, for people on Tomcat 9, the future is Jakarta

Nick Kwiatkowski 25 March 2025 at 12:58

– any reason why we still need to support javax, considering Lucee 6.2.1+ will only be jakarta?

Michael Offner 25 March 2025 at 10:17

this is the only extension we have “supporting” javax and jakarta, pain comes with jakarta, sorry for that.

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 8 March 2025 at 19:44
Updated last month