|
Linking Apache httpd to Apache Tomcat
Current connectors are jk and proxy; jserv, warp and jk2 are deprecated. As well as httpd and Tomcat downloads, you'll need mod_jk and then you'll need to configure it. I've seen some long explanations ... so here's a "bare bones" for the configuration files:
Onto the end of httpd.conf:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties
JkMount /*.jsp catkin
Into the workers property file mentioned
worker.list=catkin
worker.catkin.type=ajp13
worker.catkin.host=localhost
worker.catkin.port=8009
Full Story, including why you need to make the link, in our solutions centre. Training in installing and configuring Apache httpd and Apache Tomcat, and on using both the jk and proxy connectors on our Deploying Apache httpd and Tomcat course
Update - 10th December 2005. The story's updated again. With the new Apache 2.2 httpd server, the jk support is provided as part of the download and no longer has to be sourced separately - a good move that removes at least one loop from the process. (written 2005-09-05, updated 2006-06-05)
Associated topics are indexed under A655 - Web Application Deployment - Using Tomcat and Apache httpd Together [3018] Tuning Apache httpd and Tomcat to work well together - (2010-10-27) [2482] Load balancing with sticky sessions (httpd / Tomcat) - (2009-10-29) [1944] Forwarding session and cookie requests from httpd to Tomcat - (2008-12-14) [1940] URL rewriting with front and back servers - (2008-12-14) [1938] Predictive Load Balancing - PHP and / or Java - (2008-12-13) [1771] More HowTo diagrams - MySQL, Tomcat and Java - (2008-08-24) [1552] Extra public classes in deploying Apache httpd and Tomcat - (2008-02-24) [1549] http, https and ajp - comparison and choice - (2008-02-22) [1383] Monitoring mod_jk and how it is load balancing - (2007-10-07) [1376] Choosing between mod_proxy and mod_rewrite - (2007-10-02) [631] Apache httpd to Tomcat - jk v proxy - (2006-03-03) [576] Why run two different web servers - (2006-01-25)
Some other Articles
Upgrade!You cantFair system for travel and accommodation expensesOutside of the boxLinking Apache httpd to Apache TomcatExpect for WindowsThrough public transport connection, Chippenham to Salisbury, to ceaseFTP - how to make the right transfersNew print centre for our manualsFile permissions of Linux and Unix systems
|
3603 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73 at 50 posts per page
This is a page archived from The Horse's Mouth at
http://www.wellho.net/horse/ -
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).
|
|