File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Load Balancing in Tomcat 5.5" Watch "Load Balancing in Tomcat 5.5" New topic

Load Balancing in Tomcat 5.5

Shanthi Raj

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.
I agree. Here's the link:
subject: Load Balancing in Tomcat 5.5
It's not a secret anymore!