Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-29-2009, 11:21 AM   #1
Registered: Mar 2008
Location: oslo
Distribution: debian,redhat
Posts: 199

Rep: Reputation: 31
mod_jk or mod_proxy to connect apache to tomcat


I have been searching the web for an answer of which module i should use to connect apache to tomcat. I saw one answer on the apache mailing list saying that mod_jk was more stable than mod_proxy because, if you you used mod_jk then apache would handle the connections (and the delay) for you and it was also said that it might be better to use mod_jk if you had a more dynamic site and mod_proxy if you had only a handfull of servlets/JSPs. This answer is about 4 years old and i cannot seem to find another question with an answer like this. Does this answer still apply?

EDIT: I just found an updated guide explaing the different advantages of this, but i would still like to know how mod_rewrite compares to mod_proxy when connecting apache to tomcat.

Thanks for all your help

Last edited by exceed1; 05-29-2009 at 11:53 AM.
Old 05-30-2009, 03:27 PM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
I don't have experience connecting Apache web server to Tomcat via mod_proxy, but I've set up several systems with the mod_jk connector. They were pretty simple configurations. In most cases, I had a single Apache web server forwarding connections to a single Tomcat service (on the same Linux server).

I never had performance or strange behavior issues with mod_jk itself.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache httpd 2.2 and tomcat 5.5 and mod_proxy CowLoon Linux - Server 20 02-14-2008 04:39 PM
Apache/Tomcat/Mod_JK chantman Linux - Software 1 04-05-2006 04:32 AM
Apache Tomcat mod_jk connector dashp Linux - Newbie 1 04-01-2005 01:34 PM
connecting Apache 1.3.x and Tomcat 5.5: mod_jk [GOD]Anck Slackware 0 03-22-2005 09:27 AM
Apache, Tomcat problem with mod_jk WaveyDave Linux - Software 0 09-20-2001 08:28 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration