Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clustering in tomcat

Status
Not open for further replies.

WebGoat

MIS
Jul 16, 2005
85
US
clustering in tomcat. anybody have done it ? how to do it ?
javaworld article says only theoretically but without any steps. anybody can tell me the steps ?
 
already visted that link. and also gone through some other articles but not working . it is not supporting failover.

steps i followed


1. i created tomcat-1,tomcat-2,tomcat-3,tomcat-4.

2. changed their Connector port + server port in each of their server.xml file.
ports for
tomcat1-->8081
tomcat1-->8082
tomcat1-->8083
tomcat1-->8084


3. welcome message.
welcome message.
welcome message.
welcome message.


4. to cluster config, i uncommented Cluster tag in each of the server.xml and changed their tcplisten address to 4001,4002,4003,4004.

5. restarted server. i found in the server-log they are getting clustered.


6. so, i tested Fail-Over. i closed and opened again "page can not be displayed"


It could not failed over !!


Tell me whats wrong ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top