This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Load Balancing in Tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Load Balancing in Tomcat 5.5" Watch "Load Balancing in Tomcat 5.5" New topic
Author

Load Balancing in Tomcat 5.5

Shanthi Raj
Greenhorn

Joined: Oct 11, 2007
Posts: 1
I have two instances of Tomcat in the same machine. I have Tomcat in C:\Tomcat and have created another folder SecondInstance inside C:\Tomcat and copied the folders conf,logs,shared,temp,webapps and work from C:\Tomcat to C:\Tomcat\SecondInstance. In the server.xml inside C:\Tomcat\SecondInstance made the following changes
1) Changed connector port to 8090
2) Changed Serverport to 8015 (SHUTDOWN)
3) Changed Connector Port to 8019 for protocol=AJP/1.3

I am starting the two tomcat instances as Windows service and I get JVM bind exception as the second instance is referring to server.xml of first instance.What is the mistake Iam doing.Please help.
 
Don't get me started about those stupid light bulbs.
 
subject: Load Balancing in Tomcat 5.5
 
Similar Threads
How to create a multiple tomcat instances in windows?
Tomcat service on different ports
Tomcat 7 : change port number for manager app
Regarding Tomcat Port Numbers
multiple tomcat 5 setting???