Jhonny Perozo
Jhonny Perozo
Hello @joakime I use this class to start the WebSocket: ``` public class WebSocketServer { private Server server = null; public void startServer(String wsHost, int wsPort, String wsPath) throws Exception...
Perhaps if you could be a little more specific about what Bundle exactly should be added in order to make it work. I just tried with this SpiFly dependency: ```...
Thank you @janbartel , but it needs to be an OSGi WebSocket. The example you share is for a standalone application. In a standalone application it surely works normally. It...
Thanks @janbartel , @joakime The CkassNotFoundException is triggered because of this line: `Class.forName("org.eclipse.jetty.websocket.server.WebSocketServerFactory"...);` Line 51, in the `ServletFactory` of the WebSocket. We all know that using `Class.forName` in OSGi is...
Yes, but this particular classloader does not work in OSGi. There are other sites who also report the same problem ([http://eriklievaart.com/web/osgiwebsockets.html](url)), so it has been there for some time. The...
That is a curiosity, because the `websocket-servlet` already has a `DynamicImport-Package` to `websocket.server`. Anyways, I will surely try jetty-10 and see how it works. I'll keep you posted on the...