<@U070SQMD1> - do you know if anybody is maintaini...
# lucee
q
@zackster - do you know if anybody is maintaining the Websocket extension? Looks like the latest (1.0.11-RC) is complied against the old javax classes and won't attach to the Tomcat container bundled with Lucee 6.2. I can attach a pull request for it, but looks like I can't bake my own .lex without breaking a bunch of other things.
👍 1
z
@micha is churning thru the extensions updating them for this, but 6.2 supports both javax and Jakarta, how did u install? We add the javax jars to tomcat 10.1 as part of the builds
U might just need the javax web socket jar in the class path?
q
This is through Docker, using the ENV variables to install the extensions
But we get the same error when installing through the admin console. Let me pull up the exact error
Copy code
frontend-1  | 07.03.2025 16:15:05,143 ERROR [server.websocket] endpoint-factory->Cannot invoke "jakarta.websocket.server.ServerContainer.addEndpoint(java.lang.Class)" because "oServerContainer" is null
frontend-1  | java.lang.NullPointerException: Cannot invoke "jakarta.websocket.server.ServerContainer.addEndpoint(java.lang.Class)" because "oServerContainer" is null
frontend-1  |   at org.lucee.extension.websocket.WebSocketEndpointFactory.register(WebSocketEndpointFactory.java:151) ~[org.lucee.websocket.extension-1.0.0.11-RC.jar:?]
frontend-1  |   at org.lucee.extension.websocket.WebSocketEndpointFactory.register(WebSocketEndpointFactory.java:86) [org.lucee.websocket.extension-1.0.0.11-RC.jar:?]
frontend-1  |   at org.lucee.extension.websocket.WebSocketEndpointFactory$Registrar.run(WebSocketEndpointFactory.java:264) [org.lucee.websocket.extension-1.0.0.11-RC.jar:?]
Line 147 of
<https://github.com/lucee/extension-websocket/blob/master/source/java/src/org/lucee/extension/websocket/WebSocketEndpointFactory.java>
seems to be the trick. They did add in the javax vs jakarta tests just about everywhere except for that line.
z
Can you file a bug?
q
z
Cheers
q
Gar... helps if I copy/paste in the correct error. Ticket was updated, in case you pulled it down already
z
Looks fine, I just tweaked the labels, sprint and parent