aspose file tools
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
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply 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?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat connector from web server to three workers on apps server
 
Similar Threads
Load Balancing Problem with jsessionid
Question about failover and fail_on_status
Apache SSL Module on Ubuntu
Tomcat Connector configurations
How to create a multiple tomcat instances in windows?