File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes problem witrh Load Balancing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem witrh Load Balancing" Watch "problem witrh Load Balancing" New topic
Author

problem witrh Load Balancing

toukhir mujawar
Ranch Hand

Joined: Oct 11, 2006
Posts: 70
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

Joined: Dec 11, 2004
Posts: 13410

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?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
bulent yuce
Greenhorn

Joined: Jul 29, 2007
Posts: 4
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

Joined: Oct 11, 2006
Posts: 70
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

Joined: Dec 11, 2004
Posts: 13410

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem witrh Load Balancing
 
Similar Threads
Basic Clustering Question
Tomcat and apache configuration in debian
Simple Tomcat Config Question
Testing tomcat
load balancing in Apache-Tomcat