Just another thing I stumbled upon: Paul sets the IdleTimeout to 10 seconds (factory.getPolicy().setIdleTimeout(10000);) For me as a slow guy, this sometimes wasn't enough time to push the "send msg" button and the connection was closed before ;)
2015-10-26 13:21 GMT+01:00 Jan Willem Janssen <janwillem.jans...@luminis.eu> : > Hi, > > How are you registering your servlet? I've not looked at the repository of > Paul, but I think he's using the whiteboard approach for registering his > servlets. > Is the http whiteboard bundle present in your run configuration? > > Hth, > Jan Willem > > On 26 Oct 2015 13:02, factor3 <rbro...@bluebottle.com> wrote: > 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