On Tue, Nov 1, 2011 at 19:37, Neil <shanbhag...@gmail.com> wrote:
> We are facing deadlock issue with cometd, didn’t find anything on this
> issue on Jetty or CometD forums.
> Hope you can show some pointers. Thank you.
What exact version of CometD and Jetty are you using ?
Simon
--
http://cometd.org
http://intalio.com
http://bordet.blogspot.com
----
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless. Victoria Livschitz
On Tue, Nov 1, 2011 at 21:15, Neil <shanbhag...@gmail.com> wrote:
> We are using Jetty 6.1.1 and CometD 2.1.1 versions.
These are both pretty old.
Jetty is on 6.1.26 and CometD at 2.3.1.
I'd suggest also to move to Jetty 7, as Jetty 6 is in maintenance mode only.
Your suggested fix is not completely right, since the condition of
whether the continuation is not expired is not enough.
I am not sure your setup it right, also. It seems that you're using
the SocketConnector, which is not the recommended solution for
scalability of CometD (SelectChannelConnector should be used instead).
And furthermore, you're using faux continuations, even if you're using
Jetty6, and that is really not correct. This is probably due to the
fact that you're missing the jetty continuation classes in your
webapp.
Having said that, the bug is real, although it is exposed by a non
optimal Jetty/CometD configuration.
Please file a bug at http://bugs.cometd.org.