You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Filip Hanik - Dev Lists <de...@hanik.com> on 2011/06/07 01:07:20 UTC

Re: Tomcat 6 Clustering vs. Tomcat 5.5 clustering

On 5/23/2011 6:50 AM, Martin Knoblauch wrote:
> Hi,
>
> while moving an application from Tomcat 5.5 to Tomcat 6 I found some
> differences in clustering, that I could not resolve myself:
>
> e. G. What happened to replicationMode, ackTimeout waitForAck? In TC 5.5 I had:
>
>              <Sender
> className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
>                  replicationMode="fastasyncqueue"
>                  ackTimeout="15000"
>                  waitForAck="true"/>
channelSendOptions
http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html


> Are they still available with
> "org.apache.catalina.tribes.transport.ReplicationTransmitter"?
>
> Also, can I assume the "bindAddress" from
> "org.apache.catalina.cluster.mcast.McastService" is the same as "bind" from
> "org.apache.catalina.tribes.membership.McastService"?

yes
http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-membership.html

> Thanks
> Martin
> ------------------------------------------------------
> Martin Knoblauch
> email: k n o b i AT knobisoft DOT de
> www:   http://www.knobisoft.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1375 / Virus Database: 1511/3673 - Release Date: 06/01/11
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 5.5 Clustering

Posted by Tauqir Akhtar <TA...@jny.com>.
Sorry abt that.
I have created a new request now.

Thanks 
 
Tauqir Akhtar

-----Original Message-----
From: Pid [mailto:pid@pidster.com] 
Sent: Thursday, June 09, 2011 10:27 AM
To: Tomcat Users List
Subject: Re: Tomcat 5.5 Clustering

On 09/06/2011 15:02, Tauqir Akhtar wrote:
> Hi 
> 
> I am running two Tomcat (5.5.27) Instances on two different machines deploying the same Java Application.

If this is a new request for help, rather than a reply to "Tomcat 6
Clustering vs. Tomcat 5.5 clustering" please start a new thread, rather
than replying to an existing email & just editing the subject & body.

This is called thread hijacking.


p


######################################################################

NOTICE:
The contents of this e-mail and any attachments to it may contain privileged and confidential information from The Jones Group Inc. or its affiliates.  This information is only for the viewing or use of the intended recipient.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of, or the taking of any action in reliance upon, the information contained in this e-mail, or any of the attachments to this e-mail, is strictly prohibited.  If you have received this e-mail in error, please immediately notify the sender by replying to this message and delete it from your system.

#######################################################################



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 5.5 Clustering

Posted by Pid <pi...@pidster.com>.
On 09/06/2011 15:02, Tauqir Akhtar wrote:
> Hi 
> 
> I am running two Tomcat (5.5.27) Instances on two different machines deploying the same Java Application.

If this is a new request for help, rather than a reply to "Tomcat 6
Clustering vs. Tomcat 5.5 clustering" please start a new thread, rather
than replying to an existing email & just editing the subject & body.

This is called thread hijacking.


p


Tomcat 5.5 Clustering

Posted by Tauqir Akhtar <TA...@jny.com>.
Hi 

I am running two Tomcat (5.5.27) Instances on two different machines deploying the same Java Application.

I have made changes in server.xml to specify the Port on which Tomcat should run on the two machines.

On Machine 1 : <Connector port="8001"

On Machine 12 : <Connector port="8002"

Both the Instances are running fine.

What other configuration changes (In which files) do I need to make to run these two Tomcat Instances in one Cluster?

I have following variables set in the machine environment:

CATALINA_OPTS : -Xms512m -Xmx1024m
JAVA_OPTS      : -Xmx768m
JAVA_HOME      : C:\Program Files\Java\jdk1.5.0_11

What other changes I need to make to run more Tomcat Instances from the same Installation on each machine?

For Example:
On Machine 1 : 	<Connector port="8001"
			<Connector port="8003"

On Machine 2 : 	<Connector port="8002"
			<Connector port="8004"

I want to run all these instances in a cluster.

Your help will be highly appreciated.

Thanks
Tauqir

######################################################################

NOTICE:
The contents of this e-mail and any attachments to it may contain privileged and confidential information from The Jones Group Inc. or its affiliates.  This information is only for the viewing or use of the intended recipient.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of, or the taking of any action in reliance upon, the information contained in this e-mail, or any of the attachments to this e-mail, is strictly prohibited.  If you have received this e-mail in error, please immediately notify the sender by replying to this message and delete it from your system.

#######################################################################



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6 Clustering vs. Tomcat 5.5 clustering

Posted by Martin Knoblauch <sp...@knobisoft.de>.
Hi,

 I almost forgot about this one :-)

----- Original Message ----

> From: Filip Hanik - Dev Lists <de...@hanik.com>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Sent: Tue, June 7, 2011 1:07:20 AM
> Subject: Re: Tomcat 6 Clustering vs. Tomcat 5.5 clustering
> 
> On 5/23/2011 6:50 AM, Martin Knoblauch wrote:
> > Hi,
> >
> > while  moving an application from Tomcat 5.5 to Tomcat 6 I found some
> >  differences in clustering, that I could not resolve myself:
> >
> > e.  G. What happened to replicationMode, ackTimeout waitForAck? In TC 5.5 I  
>had:
> >
> >               <Sender
> >  className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
> >                    replicationMode="fastasyncqueue"
> >                   ackTimeout="15000"
> >                    waitForAck="true"/>
> channelSendOptions
> http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html
> 

 I know those pages. They are not that much helpful (IMO) in the transition. 
What I am looking for is a kind of side-by-side comparison of what changed 
between 5.5 and 6.0. Any pointers are welcome.

> 
> >  Are they still available with
> >  "org.apache.catalina.tribes.transport.ReplicationTransmitter"?
> >
> >  Also, can I assume the "bindAddress" from
> >  "org.apache.catalina.cluster.mcast.McastService" is the same as "bind"  
from
> >  "org.apache.catalina.tribes.membership.McastService"?
> 
> yes
> http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-membership.html
> 

 OK, I figured that out.

Cheers
Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org