This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Load Balancing in Tomcat 5.5

 
Shanthi Raj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic