• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat connector from web server to three workers on apps server

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic