tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastiaan van Erk <sebs...@sebster.com>
Subject Re: Tomcat, Comet and Apache
Date Sat, 23 Jun 2007 15:21:56 GMT
Hi,

Thanks for the reply.

Turns out that in apache 2.2 there is a flushpackets option in 
mod_proxy. I'll have to upgrade since it's not available in 2.0. I 
missed it because it's not an actual directive but an option to the 
ProxyPass directive (I was looking at ProxyIOBufferSize).

|Regards,
Sebastiaan

|Filip Hanik - Dev Lists wrote:
> my only guess would be to turn off buffering in mod_proxy, if that is 
> possible
>
> Filip
>
> Sebastiaan van Erk wrote:
>> Hi all,
>>
>> I wrote a Comet servlet for Tomcat, and am ready to deploy it. 
>> However, my "normal" mode of deployment, namely Apache + mod_jk in 
>> front of Tomcat no longer works in this situation because Comet 
>> requires the NIO or APR connectors, which do not support mod_jk. I 
>> also tried using mod_proxy to proxy requests to the Comet servlet, 
>> however mod_proxy buffers, which breaks Comet.
>>
>> I was wondering if there is a good solution to this problem.
>>
>> I'm ok with using Tomcat as the main server, but then I'm wondering 
>> does Tomcat have the equivalent of a mod_proxy so that I can service 
>> legacy pages (php, etc) from Apache?
>>
>> My preferred solution however would leave Apache as the main server 
>> since the sheer number of useful modules for apache (rewrite, etc.) 
>> makes it very nice to have it in front of Tomcat.
>>
>> Any tips or ideas are welcome!
>>
>> Thanks,
>> Sebastiaan van Erk
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message