Open GoogleCodeExporter opened 9 years ago
I found the problem.
The problem is in AJP protocol use to connect Apache to Tomcat via mod_jk on
Linux platform.
To develop my program, i use a computer under Windows and for testing i use
Apache 2.2 and Tomcat 6 (with mod_jk to connect them) on this computer and on a
Linux server.
On windows platform the protocole AJP use to connect apache and tomcat is the
AjpAprProtocol by default. But on linux the default protocol is JkCoyoteHandler
and this one don't implement all features of AJP protocol and Comet don't work.
Conclusion :
If you want to have comet application on a linux server (with apache and
mod_jk) edit server.xml (tomcat configuration file) and replace :
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
by
<Connector port="8009" protocol="org.apache.coyote.ajp.AjpAprProtocol" redirectPort="8443" />
Original comment by skalim...@gmail.com
on 27 Jul 2011 at 6:47
Hi, I have the same problem. I replaced the AJP connector as you indicated but
the problem keeps on. The server runs Ubuntu. have you changed another
configuration on the server?
Original comment by ariel...@gmail.com
on 9 Sep 2011 at 10:10
try this protocol : "org.apache.coyote.ajp.AjpProtocol"
Original comment by skalim...@gmail.com
on 10 Sep 2011 at 8:23
Hi, thank you for your help! The problem was the Avast! Antivirus :S
Original comment by ariel...@gmail.com
on 14 Sep 2011 at 2:44
Hi there. Had similar problems. Is there anything that one can do to bypass
antivirus issues?
Original comment by mavrikis@gmail.com
on 2 Jul 2012 at 9:48
Original issue reported on code.google.com by
skalim...@gmail.com
on 26 Jul 2011 at 6:10