On Sun, Feb 5, 2012 at 23:51, Derek Cicerone <derekc...@gmail.com> wrote:
> I've hit a few issues getting cometd 2.4.0 websocket support working
> with jetty 7.5.4:
CometD 2.4.0 requires Jetty 7.6.0.
> 1. Configuration: the 2.4.0 instructions indicate that the web.xml
> file should be modified to add a transports <init-param>. However,
> the init-params are ignored if cometd is initialized from an
> applicationContext.xml file via Spring (following instructions also in
> the manual). We'll need some separate way to configure transports
> when following the spring instructions.
It's enough to:
BayeuxServerImpl bayeuxServer = ...;
bayeuxServer.setTransports(new WebSocketTransport(bayeuxServer), ...);
Just translate that into Spring's XML.
Can you please raise a documentation task in JIRA about this, so we
improve the docs ?
http://bugs.cometd.org
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