Re: Can Apache front multiple instances of Tomcat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes I think so...
Your best place for documentation is the JK Tomcat documentation on the subject.... both official and unofficial (google).

.... you need to also read the documentation... this is conceptual... but in essense

JkMount /TestRemoteIp/*  worker1
   Maps the relative URI to a worker
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
   maps that to the tomcat connection port, domain and protocol

So in theory there is no problem as long ass you make sure that the Tomcats and Apache can all coexist on the server.
eg Apache port 80
Tomcat0 8080 connection port 8009
Tomcat1 8081 connection port 9009

So in actual fact you are mapping every single web-app to the desired Tomcat....

With very little modification to the above arrangement, you can do load sharing as well.... ie apache will round robin between Tomcats AND.... there is no reason why you cant have two apache's serving those tomcats as well.... ie full redundancy.

JK and Apache are pretty cool
Have fun



----- Original Message ----- From: "Brady Erickson" <berickson@xxxxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Monday, July 16, 2007 9:26 PM
Subject:  Can Apache front multiple instances of Tomcat


I am trying to determine if I can have Apache front multiple instances of Tomcat all running on the same box. The workers.properties file suggests that there is a single workers.tomcat_home. Any help would be greatly appreciated.

Thanks in advance!

Brady Erickson

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux