Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Load Balancing in Tomcat 5.5  RSS feed

 
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
Boost this thread!