Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > BOOK: Professional Apache Tomcat
BOOK: Professional Apache Tomcat
This is the forum to discuss the Wrox book Professional Apache Tomcat by Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler; ISBN: 9780764543722
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 17th, 2005, 09:59 AM
Registered User
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache + Tomcat on different hosts?


I am using Apache2 + Tomcat 4.1 + mod_jk2 and just sucessfully set up virtual hosting on my personal laptop for development. Now, the management wants me to put the same setup on the development servers and I ran into a major problem.

Apache looks for jsp pages in it's DocumentRoot and if the host is in the workers2.properties file, it sends the requests over to tomcat. My Apache web server and Tomcat Application server are 2 physically different hosts, is it possible to enable virtual hosting with Tomcat through Apache when these are on different hosts? My first thought was to export the filesystem using NFS, but that kills performance and the Change Control Management Board frowned on the idea. I will be doing this on HP-UX 11.11, thanks for your help!

Don't drink and derive, alcohol and analysis don't mix.
Old October 3rd, 2005, 10:40 AM
Authorized User
Join Date: Oct 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

Modifed theworker2.property and mod_jk2 will divert the traffic to designated hosts.

Tien-Chih Wang

-- Meta Job Search Engine , Find your dream job --


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache tomcat and JNI elixiradeel Apache Tomcat 0 June 5th, 2008 09:55 PM
Apache tomcat problem... joshi.sujit Apache Tomcat 0 April 15th, 2008 09:34 AM
Apache Tomcat atul.kumar@drydentech.com Apache Tomcat 3 April 19th, 2006 07:24 AM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
Apache + Tomcat Problem rammy Apache Tomcat 1 January 2nd, 2004 12:40 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.