You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcus Schmidke <ma...@prosystemsit.de> on 2007/07/19 09:44:10 UTC
mod_jk vs. reverse proxy
Hello all,
I've found a page (http://www.apachetutor.org/admin/reverseproxies) which states that by now, reverse proxying is the preferred way to deploy Tomcat
applications, replacing "the old mod_jk".
But I see that mod_jk is still being updated.
Which way is the better one?
Do you know of any other documents or information which can help me make a decision which is the best way for me? Any idea?
Thank you very much for your hints!
Marcus.
(and sorry for this gigantomanic signature - it's my companie's decision and I have no chance to avoid it)
_____________________________________________________________________
prosystems IT GmbH
Anwendungsentwicklung
Postfach 31 51
53021 Bonn (Germany)
Tel: 0228 / 3366 - 3329, Fax: 0228 / 3366 - 73329
mailto:Marcus.Schmidke@prosystemsIT.de http://www.prosystemsIT.de
Amtsgericht Bonn - HR B 13189
Geschaeftsfuehrer: Vassilios Timiliotis, Richard Adams
Der Austausch von Nachrichten mit der prosystems IT GmbH via E-Mail dient ausschliesslich Informationszwecken. Rechtsgeschaeftliche Erklaerungen
duerfen ueber dieses Medium nicht ausgetauscht werden. Verfaelschungen des urspruenglichen Inhaltes dieser Nachricht bei der Datenuebertragung koennen
nicht ausgeschlossen werden.
---------------------------------------------------------------------
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
Re: mod_jk vs. reverse proxy
Posted by Mark Deneen <md...@gmail.com>.
I've had it happen in both Internet Explorer and Firefox. Personally
I've only seen it in Firefox, but users had been complaining about the
issue... and they are only using IE.
Mark
On 7/22/07, Pid <p...@pidster.com> wrote:
> Mark Deneen wrote:
> > Since we're all giving mod_jk a big hug here I thought I would point
> > out that I had issues with both mod_proxy_http and mod_proxy_ajp which
> > were solved by moving (back) to mod_jk.
> >
> > Intermittently the response to the browser would be sent as plain-text
> > (the browser just prints out the html) or I would have random
> > corruption sprinkled in the response.
>
>
> I've experienced the same thing, but determined it to be a recent
> intermittent Firefox issue, as I was never able to reproduce the same
> outcome in IE or other browsers.
>
> p
>
>
> > Mark
> >
> > go jk!
---------------------------------------------------------------------
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
Re: mod_jk vs. reverse proxy
Posted by Pid <p...@pidster.com>.
Mark Deneen wrote:
> Since we're all giving mod_jk a big hug here I thought I would point
> out that I had issues with both mod_proxy_http and mod_proxy_ajp which
> were solved by moving (back) to mod_jk.
>
> Intermittently the response to the browser would be sent as plain-text
> (the browser just prints out the html) or I would have random
> corruption sprinkled in the response.
I've experienced the same thing, but determined it to be a recent
intermittent Firefox issue, as I was never able to reproduce the same
outcome in IE or other browsers.
p
> Mark
>
> go jk!
>
> On 7/20/07, Mladen Turk <ml...@gmail.com> wrote:
>>
>>
>> Don't worry, there are many other folks actively developing
>> mod_jk like Bill, Henri, Jean-Frederic, Mark, Rainer and many others.
>>
>> Regards,
>> Mladen.
>>
>> ---------------------------------------------------------------------
>> 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
>
>
Re: mod_jk vs. reverse proxy
Posted by Mark Deneen <md...@gmail.com>.
Since we're all giving mod_jk a big hug here I thought I would point
out that I had issues with both mod_proxy_http and mod_proxy_ajp which
were solved by moving (back) to mod_jk.
Intermittently the response to the browser would be sent as plain-text
(the browser just prints out the html) or I would have random
corruption sprinkled in the response.
Mark
go jk!
On 7/20/07, Mladen Turk <ml...@gmail.com> wrote:
>
>
> Don't worry, there are many other folks actively developing
> mod_jk like Bill, Henri, Jean-Frederic, Mark, Rainer and many others.
>
> Regards,
> Mladen.
>
> ---------------------------------------------------------------------
> 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
Re: mod_jk vs. reverse proxy
Posted by Mladen Turk <ml...@gmail.com>.
Johnny Kewl wrote:
> Mladen you very modest... your mod_jk is great.
LOL. It's not mine, not at all!
>
> Mladen, if you retire, elope or die, send me an email, I'll look at
> mod_proxy ;)
>
Don't worry, there are many other folks actively developing
mod_jk like Bill, Henri, Jean-Frederic, Mark, Rainer and many others.
Regards,
Mladen.
---------------------------------------------------------------------
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
Re: mod_jk vs. reverse proxy
Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
Mladen you very modest... your mod_jk is great.
I think the choice is easy, as long as you got someone making a cool apache
module especially for tomcat users, I think we very fortunate.
Maybe mod_proxy with other servlet containers, mod_jk is extremely good with
TC, even if you do crazy things like pull out the wrong network cable, crash
a machine, its very resilient, and always seems to recover.
Mladen, if you retire, elope or die, send me an email, I'll look at
mod_proxy ;)
----- Original Message -----
From: "Mladen Turk" <ml...@gmail.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Thursday, July 19, 2007 9:51 AM
Subject: Re: mod_jk vs. reverse proxy
> Marcus Schmidke wrote:
>>
>> But I see that mod_jk is still being updated.
>>
>
> Yes as well as mod_proxy.
>
>> Which way is the better one?
>>
>
> It all depends on your topology and needs
>
>> Do you know of any other documents or information which can help me make
>> a decision which is the best way for me? Any idea?
>>
>
> Just my 2c
> http://blogs.jboss.com/blog/mturk/
>
> Note that those are my personal opinions, and may not reflect
> the actual usage.
> However during the past couple of months there is really
> heavy effort for backporting some stuff to mod_proxy, so the
> entire story might be very well revisited after 2.2.5 gets out
> of the door.
>
> Regards,
> Mladen
>
> ---------------------------------------------------------------------
> 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
Re: mod_jk vs. reverse proxy
Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
Mladen, you very modest, your Mod_jk is magic.
As an outside independent user, I think that with time the selection between
mod_proxy and mod_jk will make little difference from a pure geek
perspective.
I have tried both, and I did have problems bringing machines back up on
mod_proxy... it was probably solvable then, and or has been fixed
since then, but mod_jk was working so well, I didnt persue it further.
On mod_jk, I've made mistakes, pulled the wrong cable, bombed a machine,
things one shouldnt do, and nothing seems to happen, when the machine
comes back up, all is well.
I realize that I probably crashed a user session, and should use jkStatus
when taking a machine down, but mod_JK has proved to be very resilient to
abuse.
All I wanted to say is that, mod_jk is a tiny bit more difficult to learn,
but I've had nothing but good experiences with it.
Also, the development effort behind mod_jk, has Tomcat very much in mind...
I sleep better knowing that if I have a difficult question related to mod_jk
and tomcat, it will probably get a good answer. If I was using another
servlet container, I would probably go for mod_proxy, but never on tomcat.
I think Tomcat users are very fortunate to have someone designing Apache
modules with them specifically in mind... it cant get better than that.
Mladen, if you retire, elope, or die.... send me an email, then I might use
mod_proxy ;)
----- Original Message -----
From: "Mladen Turk" <ml...@gmail.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Thursday, July 19, 2007 9:51 AM
Subject: Re: mod_jk vs. reverse proxy
> Marcus Schmidke wrote:
>>
>> But I see that mod_jk is still being updated.
>>
>
> Yes as well as mod_proxy.
>
>> Which way is the better one?
>>
>
> It all depends on your topology and needs
>
>> Do you know of any other documents or information which can help me make
>> a decision which is the best way for me? Any idea?
>>
>
> Just my 2c
> http://blogs.jboss.com/blog/mturk/
>
> Note that those are my personal opinions, and may not reflect
> the actual usage.
> However during the past couple of months there is really
> heavy effort for backporting some stuff to mod_proxy, so the
> entire story might be very well revisited after 2.2.5 gets out
> of the door.
>
> Regards,
> Mladen
>
> ---------------------------------------------------------------------
> 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
Re: mod_jk vs. reverse proxy
Posted by broken connection <br...@gmail.com>.
>> Which way is the better one [between mod_jk and mod_proxy_ajp]?
I will second mod_jk too...i had to encrypt the data communication between
my apache and tomcat server and using stunnel with mod_jk was so cool and so
easy....much less then configuring "https" on mod_proxy....
On 7/19/07, Christopher Schultz <ch...@christopherschultz.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All,
>
> Mladen Turk wrote:
> >> Which way is the better one [between mod_jk and mod_proxy_ajp]?
> >
> > It all depends on your topology and needs
>
> For instance, I have a complex configuration where some URLs must map to
> one worker, while other URLs map to another (within the same URL space).
> I have not been able to figure out how to do this with mod_proxy_ajp,
> and mod_jk does it perfectly.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGn3AK9CaO5/Lv0PARAoMwAJwM2c384dy3h4Kx5J7z8MhwE9qzTgCgmw3X
> GE2xh2Rq7yrICxWYCXl9Eao=
> =ztSI
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> 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
>
>
Re: mod_jk vs. reverse proxy
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All,
Mladen Turk wrote:
>> Which way is the better one [between mod_jk and mod_proxy_ajp]?
>
> It all depends on your topology and needs
For instance, I have a complex configuration where some URLs must map to
one worker, while other URLs map to another (within the same URL space).
I have not been able to figure out how to do this with mod_proxy_ajp,
and mod_jk does it perfectly.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGn3AK9CaO5/Lv0PARAoMwAJwM2c384dy3h4Kx5J7z8MhwE9qzTgCgmw3X
GE2xh2Rq7yrICxWYCXl9Eao=
=ztSI
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
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
Re: mod_jk vs. reverse proxy
Posted by Mladen Turk <ml...@gmail.com>.
Marcus Schmidke wrote:
>
> But I see that mod_jk is still being updated.
>
Yes as well as mod_proxy.
> Which way is the better one?
>
It all depends on your topology and needs
> Do you know of any other documents or information which can help me make a decision which is the best way for me? Any idea?
>
Just my 2c
http://blogs.jboss.com/blog/mturk/
Note that those are my personal opinions, and may not reflect
the actual usage.
However during the past couple of months there is really
heavy effort for backporting some stuff to mod_proxy, so the
entire story might be very well revisited after 2.2.5 gets out
of the door.
Regards,
Mladen
---------------------------------------------------------------------
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