How to enable Jetty to support cometd/reverse ajax while listening to port 80?

14 views
Skip to first unread message

janet smith

unread,
Nov 11, 2009, 1:34:02 PM11/11/09
to cometd...@googlegroups.com
Hi,

I would like to use cometd / reverse ajax capability of Jetty 7. I
tried to configure it so it listen to port 80, instead of 8080.

However, according to
http://jetty.mortbay.org/jetty5/faq/faq%5Fs%5F200-General%5Ft%5Fapache.html
,

Apache can be configured as a HTTP/1.1 proxy to pass selected
request to the Jetty using the HTTP/1.1 protocol. This is simple to
configure and use, but current versions of the apache mod_proxy do not
support persistent connections.

As far as I know, the reverse ajax in jetty is depending on
continuation (I guess it is persistent connection). So how to let
jetty support reverse ajax, while coexist with apache server?

Thanks.

Simone Bordet

unread,
Nov 13, 2009, 8:52:09 AM11/13/09
to cometd...@googlegroups.com
Hi,
Why would you want to put Apache in front of Jetty in case of Cometd
applications ?
It will reduce scalability and it's not strictly necessary.
What are your needs ?

A normal deployment of a Cometd application would be Jetty serving
directly the web application (modulo firewall/load balancers).

Simon
--
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
Reply all
Reply to author
Forward
0 new messages