Hi, I'm also currently diving into WebSockets and OSGi. I recognized, that the jetty example of Paul Bakker is working with Chrome, but not with IE (didn't test any other browsers). Did you try it in Chrome? For the JSR example: the current distribution of jetty that comes with felix.http doesn't contain the package org.eclipse.jetty.websocket.jsr356 which is needed for the WebSocketServerContainerInitializer.
Kind regards, Thomas 2015-10-26 12:53 GMT+01:00 factor3 <rbro...@bluebottle.com>: > Greetings, pkriens: > > Your suggestion is an interesting one, and I will look into it for my > immediate needs. I will, however, need to make Websockets work soon because > some of the requirements for the application I am developing include a need > to do 2- way communication between client and server in as close to > realtime > as possible. Websockets is the only solution that my peers/management will > accept. It so happens that I agree that it is also the only viable solution > for what we need to do. > > As for my Websocket solution: I have been stepping through everything in > the example as thoroughly as possible, and my initial assessment is > correct: > for some reason, the Jetty bundle is not "finding" the Echo servlet. > Attempts to connect to the MyEchoSocket are failing, and I think they are > failing because the code to register it is not being called. Everything > appears to be the same as the example code -- which, by the way, is also > failing. > > There has to be something in the environment or configuration that is > missing or incorrect, but I am not finding it. Can someone please provide > insights on how to get this thing to run properly??? > > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/WebSockets-usage-tp5012240p5015303.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > > -- M.Sc. Thomas Driessen Software Methodologies for Distributed Systems Institute of Computer Science University of Augsburg Universitätsstr. 6a 86135 Augsburg, Germany Tel: +49 821 598-2486 email: thomas.dries...@informatik.uni-augsburg.de