This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat connector from web server to three workers on apps server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat connector from web server to three workers on apps server" Watch "Tomcat connector from web server to three workers on apps server" New topic
Author

Tomcat connector from web server to three workers on apps server

jay lopes
Greenhorn

Joined: Jul 17, 2008
Posts: 7
We currently run 3 tomcat web applications. One is a main webpage, which would be www.xxxx.com, one is www.xxx.com/123 and the other is www.xxx.com/abc. 123 and abc are running from 1 instance, and www.xxx.com is running on another instance.

My uriworkermap.properties file:
/|/*=worker1
!/123|/*=worker1
!/abc|/*=worker1
/123|/*=worker2
/abc|/*=worker3

Workers.properties file:

workers.worker1.tomcat_home=C:\Tomcat
workers.worker2.tomcat_home=C:\Tomcat5.5
workers.worker3.tomcat_home=C:\Tomcat5.5
workers.java_home=C:\Program Files\Java\jdk1.6.0_07
worker.list=worker1,worker2, worker3
worker.worker1.host=10.30.10.128
worker.worker1.port=8009
worker.worker1.type=ajp13
worker.worker2.host=10.30.10.128
worker.worker2.port=8014
worker.worker2.type=ajp13
worker.worker3.host=10.30.10.128
worker.worker3.port=8014
worker.worker3.type=ajp13

abc and 123 work fine, but www.xxxx.com doesn't work. I know that the problem is that it's not pulling up anything that's in subdirectories of the root folder. I'm sure it has to do with the uriworkermap.properties file, but I'm not sure how to fix it. Any suggestions?
 
Consider Paul's rocket mass heater.
 
subject: Tomcat connector from web server to three workers on apps server
 
Similar Threads
Load Balancing Problem with jsessionid
How to create a multiple tomcat instances in windows?
Tomcat Connector configurations
Question about failover and fail_on_status
Apache SSL Module on Ubuntu