You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by karthikn <ka...@xius-bcgi.com> on 2008/04/21 09:47:58 UTC
TOMCAT CLUSTERING ONJAVA
Hi
Reffered to URL
"http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1"
The Load balancing using Cluster Techique for 3+ TC's,
The site has also provided a SAMPLE Code "tomcatclustering.zip"
I was wondering if any body on this TOMCAT form has achieved the same on
TOMCAT5.5.23 version.
Cause I am getting the ERROR as below
2008-04-21 13:05:35,039 (WebPortalLogger.java:44) - Cluster Member is
NOT alive
2008-04-21 13:05:35,039 (WebPortalLogger.java:44) -
TC-LB|balancer|RoundRobinRule|Finish Time |04/21/2008 01:05:35:39
PM2008-04-21 13:05:35,039 (WebPortalLogger.java:44) -
TC-LB|balancer|RoundRobinRule|Elapsed Time|78 ms
2008-04-21 13:05:35,039 (WebPortalLogger.java:44) -
TC-LB|balancer|RoundRobinRule|Start Time |04/21/2008 01:05:35:39 PM
2008-04-21 13:05:35,055 (WebPortalLogger.java:44) - getServerInstance() : 3
2008-04-21 13:05:35,055 (WebPortalLogger.java:44) -
getMaxServerInstances() : 3
2008-04-21 13:05:35,055 (WebPortalLogger.java:44) - getClusterMember() : 3
2008-04-21 13:05:35,055 (WebPortalLogger.java:44) - Requested server
instance match..
java.lang.IllegalArgumentException: Required property
"mcastClusterDomain" is missing.
at
org.apache.catalina.cluster.mcast.McastService.hasProperty(McastService.java:253)
at
org.apache.catalina.cluster.mcast.McastService.setProperties(McastService.java:141)
at common.utilities.ServerUtil.isServerAlive(ServerUtil.java:36)
at
org.apache.webapp.balancer.rules.BaseLoadBalancingRule.isServerAlive(BaseLoadBalancingRule.java:89)
at
org.apache.webapp.balancer.rules.RoundRobinRule.matches(RoundRobinRule.java:48)
at org.apache.webapp.balancer.RuleChain.evaluate(RuleChain.java:101)
at
org.apache.webapp.balancer.BalancerFilter.doFilter(BalancerFilter.java:119)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)
2008-04-21 13:05:35,117 (WebPortalLogger.java:44) - Time taken to check
connection: 62 ms.
** THE SERVER IS NOT AVAILABLE **
Was Wondering What went Wrong ???
with regards
Karthik
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: TOMCAT CLUSTERING ONJAVA
Posted by karthikn <ka...@xius-bcgi.com>.
Hi
>> Rather than looking at doc that's over four years old
The Main TOMCAT out of 4 numbers, act's a Load Balancer itself
Which is exciting and simple for configuration.
>> http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
Observed this URL, Does the topic Load Balancers /Using the balance
webapp say same thing as above ?
I am in deli ma .....:(
with regards
Karthik
Caldarale, Charles R wrote:
>> From: karthikn [mailto:karthik.nanjangude@xius-bcgi.com]
>> Subject: TOMCAT CLUSTERING ONJAVA
>>
>> Reffered to URL
>> "http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1"
>>
>> The Load balancing using Cluster Techique for 3+ TC's,
>>
>
> Rather than looking at doc that's over four years old (and was sadly out
> of date even then), why don't you use the real Tomcat documentation?
> http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: TOMCAT CLUSTERING ONJAVA
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: karthikn [mailto:karthik.nanjangude@xius-bcgi.com]
> Subject: TOMCAT CLUSTERING ONJAVA
>
> Reffered to URL
> "http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1"
>
> The Load balancing using Cluster Techique for 3+ TC's,
Rather than looking at doc that's over four years old (and was sadly out
of date even then), why don't you use the real Tomcat documentation?
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org