File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes workers.property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "workers.property" Watch "workers.property" New topic
Author

workers.property

Gaurav Chaturvedi
Greenhorn

Joined: May 06, 2008
Posts: 3
I have an Apache server running on my server. i want that if someone connevts to www.a.com then he shuld be routes to a server say A and if someone connets to the www.b.com then he should be routed to the B server is this possible in Apache. Please tell me how. If some document is there then please send me the doc for the same.
Johnson Abraham
Greenhorn

Joined: May 31, 2004
Posts: 19
Reading your query i can say that you want have a distributed server. Load balancing can be done using Apache server in combination of tomcat servers. In this case Apache server wll sit on top of multiple instances of tomcat servers, and it will be responsible to route the requests to the tomcat server depending on the configurations you have done.

Go through a link below and you will get a fair bit of idea on what needs to be done.

Load Balancing
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: workers.property
 
Similar Threads
about enumeration of hashtable
session migration
Host alias in IIS and Resin 3
How to change Context
IE address bar does not update using response.sendRedirect