Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem witrh Load Balancing

 
toukhir mujawar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i m trying to implement the load balancing using the balancer application of tomcat.

i am done with the settings that were mentioned. but now i m not able to start all the instances of tomcat at the same time.

i am using Windows XP for testing purpose. once i am successful in it. i will be implementing it on Linux.

kindly help me out. thanks in advance.

Regards
Toukhir Mujawar
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by toukhir mujawar:
... but now i m not able to start all the instances of tomcat at the same time. ...


In order to have multiple instances of Tomcat running on one machine, you need to make sure that each is binding to different ports.
Did you do this?
 
bulent yuce
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you run 2 tomcat server on windows os. I couldn't install tomcat cluster on linux system.

I have a question:
what does this mean:
# Specify the size of the open connection cache.
#worker.ajp13.cachesize

Why can we use cachesize?
What does this mean?
Thanks
 
toukhir mujawar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i have installed all the instances on different ports.

like instance 1 -- 8080 - load balancer.
instance 2 -- 8180
instance 3 -- 8280
instance 4 -- 8090

i m trying to start using the startup from command line. when i invoke this command it works. but when i try to open tomcat manager it does not open and i checked the services that are running, there is no service of tomcat running.

is there some other method to install the multiple instances of tomcat on single machine?

please help...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bulent yuce,
Please be careful not to hi-jack other peoples threads.
It would be better if you asked your similar but different question in a new thread so the conversation doesn't stray from the original poster's question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic