You can do an configuration too easy with all versions of mod_proxy, but an
exaustive analisys of the application and an advanced configuration in
apache can speed up the service. With the example I mentioned in an previous
post I'm serving all static content with apache and only pass to tomcat the
dinamic content. In my application aprox the 90% of requests are .jpg .gif.
.css .js .pdf ... If apache serves this kind of content, I'm reducind the
tomcat's load in 90%.

-----Mensaje original-----
De: JNeuhoff [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 25 de enero de 2007 14:38
Para: users@tomcat.apache.org
Asunto: RE: mod_jk replacement?


I just tried it with the mod_proxy and mod_proxy_http modules which are
indeed available for Apache 2.0.59, and it works fine connecting to backend
Tomcat web service using the http protocol and port 8080. 

I only needed one line in Apache's configuration:

ProxyPass /ohpr/ http://localhost:8080/ohpr/

(where ohpr is the web service context). Much easier to configure!

I'll run some stresstests with this setup tomorrow, as I did with the mod_jk
in recent days, to see how mod_proxy will cope with higher web traffic load.

J.Neuhoff



David Rodríguez Fernández wrote:
> 
> You can use the mod_proxy, with the 8080 port and http protocol. This 
> is implemented in apache 2.0.x (and 1.3.x). The sintax is similar as i 
> mencioned in the previous message.
> 
> -----Mensaje original-----
> De: Hassan Schroeder [mailto:[EMAIL PROTECTED]
> Enviado el: lunes, 22 de enero de 2007 16:55
> Para: Tomcat Users List
> Asunto: Re: mod_jk replacement?
> 
> On 1/22/07, David Rodríguez Fernández <[EMAIL PROTECTED]>
> wrote:
>> Recently i'm using mod_proxy_ajp, as mod_jk replacement with apache.
> 
> The OP asked about Apache httpd 2.0.x, for which mod_proxy_ajp is not 
> available (introduced in 2.2.x).
> 
> And yes, I've used it successfully in production on Linux boxes, but I 
> have no experience with it on Windows.
> 
> --
> Hassan Schroeder ------------------------ [EMAIL PROTECTED]
> 
> 
> 
> 
> ----------------------------------------------------------------------
> 
> La Información incluida en el presente correo electrónico es SECRETO 
> PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del 
> destinatario arriba mencionado. Si usted lee este mensaje y no es el 
> destinatario señalado, el empleado o el agente responsable de entregar 
> el mensaje al destinatario, o ha recibido esta comunicación por error, 
> le informamos que esta totalmente prohibida cualquier divulgación, 
> distribución o reproducción de esta comunicación, y le rogamos que nos 
> lo notifique inmediatamente y nos devuelva el mensaje original a la 
> dirección arriba mencionada.
> 
> Gracias.
> 
> The information contained in this e-mail is LEGALLY PRIVILEDGED AND 
> CONFIDENTIAL and is intended only for the use of the addressee named 
> above. If the reader of this message is not the intended recipient or 
> the employee or agent responsible for delivering the message to the 
> intended recipient, or you have received this communication in error, 
> please be aware that any dissemination, distribution or duplication of 
> this communication is strictly prohibited, and please notify us 
> immediately and return the original message to us at the address above.
> 
> Thank you.
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, 
> e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

--
View this message in context:
http://www.nabble.com/mod_jk-replacement--tf3050993.html#a8615582
Sent from the Tomcat - User mailing list archive at Nabble.com.


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





----------------------------------------------------------------------

La Información incluida en el presente correo electrónico es SECRETO
PROFESIONAL Y CONFIDENCIAL, siendo para el uso exclusivo del
destinatario arriba mencionado. Si usted lee este mensaje y no es el
destinatario señalado, el empleado o el agente responsable de entregar
el mensaje al destinatario, o ha recibido esta comunicación por error,
le informamos que esta totalmente prohibida cualquier divulgación,
distribución o reproducción de esta comunicación, y le rogamos que nos
lo notifique inmediatamente y nos devuelva el mensaje original a la
dirección arriba mencionada.

Gracias.

The information contained in this e-mail is LEGALLY PRIVILEDGED AND
CONFIDENTIAL and is intended only for the use of the addressee named
above. If the reader of this message is not the intended recipient or
the employee or agent responsible for delivering the message to the
intended recipient, or you have received this communication in error,
please be aware that any dissemination, distribution or duplication of
this communication is strictly prohibited, and please notify us
immediately and return the original message to us at the address above.

Thank you.



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

Reply via email to