Re: Clustering problems

2005-08-26 Thread Peter Rossbach
Read the doc and configure greater waitForAck timeouts and more pooled worker. I only used fastasyncqueue mode in my production system! Peter Randy Paries schrieb: Hello I have two tomcat servers (flanders and krusty) Their server.xmls are below they have two nic cards. The incoming http

Re: Clustering and the useDirtyFlag

2005-07-28 Thread Dennis
Dennis wrote: >I've been working with a cluster of tomcat servers and wanted to change >the useDirtyFlag to false so that the session is replicated after every >request whether or not it was changed. > >Here is my modified server.xml fragment: >---CUT--- > >managerClassName="org.ap

Re: clustering questions

2005-06-14 Thread Peter Rossbach
Hey Mark, Mark Eggers schrieb: I'm looking at clustering and have a few questions. 1. In the documentation, the Cluster element is shown as a child of the Engine element. In the example server.xml the Cluster element is shown in the Host element. When I put the Cluster element in the Host e

Re: clustering questions

2005-06-14 Thread Filip Hanik - Dev Lists
So the proper location for a Cluster element is inside a Host element? Host Does this mean I need to have a separate Cluster element for each virtual host? yes, unfortunately, the better solution is to do the virtual hosting in your apache server. That way you only need one cluster config.

Re: Clustering without farmwardeployer

2005-06-06 Thread Filip Hanik - Dev Lists
Two suggestions: 1. Make sure the farm war deployer is really turned off, and by the way, the farm war deployer doesn't deploy into webapps, instead into the dir you specify in server.xml 2. Check your scripts again, chances are you are the one redeploying your own old code. Filip Todd Hu

Re: Clustering Tomcat

2005-05-22 Thread Ben
It was my firewall. The servers are working now, however I get these error messages when I stop and start one of the two Tomcat instances: May 21, 2005 5:09:20 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster send SEVERE: Unable to send message through cluster sender. java.io.IOException: Sende

RE: Clustering Tomcat

2005-05-22 Thread Dale, Matt
It looks like your machine is unable to send a multicast message. It will be an operating system configuration. Ta Matt -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: 21 May 2005 02:11 To: Tomcat Subject: Clustering Tomcat Hi I'm trying to configure clustering of 2 Tomc

Re: Clustering troubles.

2005-04-27 Thread Rod Fitzsimmons Frey
Forgot to mention: Java runtime is jre1.5.0_02 Rod Fitzsimmons Frey wrote: I'm setting up a 2-node Tomcat cluster with jk_mod doing the loadbalancing. The loadbalancing went without a hitch, or at least without hitches that maillist archives couldn't untie. But now I'd like to have in-memory

Re: Clustering "application scope replication"

2005-04-23 Thread Peter Rossbach
I hope you have download and use my cluster patches for 5.5.9 http://issues.apache.org/bugzilla/show_bug.cgi?id=34389 when you implement the feature ServletContext attribute replication feature I support you. ( s. other mail) Peter Joakim Ahlén schrieb: Hi! We have a cluster of two tomcat 5.5.9-mac

Re: Clustering "application scope replication"

2005-04-23 Thread Peter Rossbach
Hey, with the next tomcat 5.5.10 release you can add a ClusterListener and LifecycleListener to your cluster config to realize those ServletContext attributes replication things. Look at the current cvs head and test it. Your LifecycleListener receive the manager/context un/registra

RE: Clustering "application scope replication"

2005-04-22 Thread Dale, Matt
: RE: Clustering "application scope replication" Let me rephrase the question, how does Tomcat determine what is a session attribute. What if there are classes that implement java.io.Serializable that have nothing to do with "session attributes?" -ryan -Original Messag

RE: Clustering "application scope replication"

2005-04-22 Thread J. Ryan Earl
day, April 22, 2005 10:19 AM To: Lionel Farbos; Tomcat Users List Subject: RE: Clustering "application scope replication" I've read that document many times, and that does not answer my question. -ryan -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent:

RE: Clustering "application scope replication"

2005-04-22 Thread J. Ryan Earl
I've read that document many times, and that does not answer my question. -ryan -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 9:50 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Clustering "application scope replica

Re: Clustering "application scope replication"

2005-04-22 Thread Lionel Farbos
serialize out -everything- that implements java.io.Serializable? > > -ryan > > -Original Message- > From: Lionel Farbos [mailto:[EMAIL PROTECTED] > Sent: Friday, April 22, 2005 9:11 AM > To: Tomcat Users List > Cc: [EMAIL PROTECTED] > Subject: Re: Clustering &qu

Re: Clustering "application scope replication"

2005-04-22 Thread Will Hartung
> From: "J. Ryan Earl" <[EMAIL PROTECTED]> > Sent: Friday, April 22, 2005 7:44 AM > How does Tomcat know what to serialize? Does it just use the Reflection > package and serialize out -everything- that implements java.io.Serializable? When you do a "setAttribute(key, object)", it serializes the

Re: Clustering "application scope replication"

2005-04-22 Thread Will Hartung
> From: "Joakim Ahlén" <[EMAIL PROTECTED]> > Sent: Friday, April 22, 2005 5:54 AM > Hi! > > We have a cluster of two tomcat 5.5.9-machines using session > replication. However, we also have data in application scope (set with > getServletContext().setAttribute(...)) which as far as i have found in

RE: Clustering "application scope replication"

2005-04-22 Thread J. Ryan Earl
: [EMAIL PROTECTED] Subject: Re: Clustering "application scope replication" Hi For your needs, you can use session replication (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html) or your own mechanisms and tables with datas in a database ... Regards. On Fri, 22 Apr 2005 15:1

Re: Clustering "application scope replication"

2005-04-22 Thread Lionel Farbos
Hi For your needs, you can use session replication (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html) or your own mechanisms and tables with datas in a database ... Regards. On Fri, 22 Apr 2005 15:15:54 +0200 "Joakim Ahlén" <[EMAIL PROTECTED]> wrote: > Ok, too bad. Is there

Re: Clustering "application scope replication"

2005-04-22 Thread Joakim Ahlén
Ok, too bad. Is there any way of storing objects if we want them in "cluster scope"? An ugly hack would be to use one single HttpSession with a special session-id to store global objects, and somehow fetch objects from within this HttpSession from inside requests that belongs to other sessions

Re: Clustering "application scope replication"

2005-04-22 Thread Jess Holle
The servlet spec says this data is local to a given JVM. I suppose a servlet engine could expand beyond the spec, but I'd be surprised if Tomcat did here. Joakim Ahlén wrote: Hi! We have a cluster of two tomcat 5.5.9-machines using session replication. However, we also have data in application s

Re: clustering without loadbalancing

2005-04-14 Thread hang zhao
I am using mod_jk2, and in its workers2.properties file, you can specify "level" attribute for "channel.socket" quote from http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk2/configwebcom.html as description to "level" attribute: "Worker Priority. Valid values are 0-3. The functioning

RE: clustering without loadbalancing

2005-04-14 Thread Peter Crowther
> From: Gaurav Bansal [mailto:[EMAIL PROTECTED] > is apache necessary for this No - in fact, it merely introduces another single point of failure, which I assume is what you want to avoid. However, you need *something* that will choose whether the primary or standby instance receives any given r

Re: clustering without loadbalancing

2005-04-14 Thread Gaurav Bansal
is apache necessary for this and where can i get the details regarding this becoz i m new to tomcat --- David Rees <[EMAIL PROTECTED]> wrote: > On 4/14/05, Gaurav Bansal <[EMAIL PROTECTED]> > wrote: > > I want to form a two node cluster of Tomcat > servers which can failover but there should be no

Re: clustering without loadbalancing

2005-04-14 Thread David Rees
On 4/14/05, Gaurav Bansal <[EMAIL PROTECTED]> wrote: > I want to form a two node cluster of Tomcat servers which can failover but > there should be no > load balancing. But it should support session replication. I assume that you want to do it with Apache and have mod_jk handle the distribution

RE: [OT] Serialization (was RE: Clustering question)

2005-04-01 Thread Richard Mixon (qwest)
Peter Crowther wrote: >> From: Dale, Matt [mailto:[EMAIL PROTECTED] >> Yes this is a problem. All objects contained within a >> serializable object must in turn be serializable themselves. > > Or marked as 'transient'. This omits them from serialization. If you mark them as transient, you may nee

RE : Clustering question

2005-04-01 Thread Sébastien Letélié
Or they can be transient i.e. not serialized in a serialization process Sébastien Letélié > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > De la part de Dale, Matt > Envoyé : vendredi 1 avril 2005 13:38 > À : Tomcat Users List &

Re: Clustering question

2005-04-01 Thread Viorel Dragomir
l Dragomir . .. --- - Original Message - From: Dale, Matt To: Tomcat Users List Sent: Friday, April 01, 2005 13:38 Subject: RE: Clustering question Yes this is a problem. All objects contained within a serializable object must in turn be serializable themselves. -Original Message

[OT] Serialization (was RE: Clustering question)

2005-04-01 Thread Peter Crowther
> From: Dale, Matt [mailto:[EMAIL PROTECTED] > Yes this is a problem. All objects contained within a > serializable object must in turn be serializable themselves. Or marked as 'transient'. This omits them from serialization. - Peter ---

RE: Clustering question

2005-04-01 Thread Dale, Matt
Yes this is a problem. All objects contained within a serializable object must in turn be serializable themselves. -Original Message- From: Steven Pannell [mailto:[EMAIL PROTECTED] Sent: 01 April 2005 12:33 To: 'tomcat-user@jakarta.apache.org' Subject: Clustering question Hi, I have se

Re: clustering help

2004-12-03 Thread Filip Hanik - Dev
that still didn't answer the question, see Matt's email Filip - Original Message - From: "Nandish Rudra" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, December 02, 2004 4:39 PM Subject: RE: clusteri

RE: clustering help

2004-12-03 Thread Dale, Matt
the second server you just change the hostname in your URL then this is never going to work. Ta Matt -Original Message- From: Nandish Rudra [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 22:40 To: 'Tomcat Users List' Subject: RE: clustering help I have two jsp's for

RE: clustering help

2004-12-02 Thread Nandish Rudra
s "+test); %> Regards, Nandish Rudra -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 5:23 PM To: Tomcat Users List Subject: Re: clustering help the logs are showing that everything is replicating fine. you can

RE: clustering help

2004-12-02 Thread Nandish Rudra
Yes i do. Regards, Nandish Rudra ECI Conference Call Services, LLC -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 5:11 PM To: Tomcat Users List Subject: RE: clustering help do you have the tag in your applications web.xml

Re: clustering help

2004-12-02 Thread Filip Hanik - Dev
" <[EMAIL PROTECTED]> Sent: Thursday, December 02, 2004 4:10 PM Subject: RE: clustering help do you have the tag in your applications web.xml? -Original Message- From: Nandish Rudra [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 22:08 To: Tomcat Users List (E-mail) Subject: c

RE: clustering help

2004-12-02 Thread Dale, Matt
do you have the tag in your applications web.xml? -Original Message- From: Nandish Rudra [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 22:08 To: Tomcat Users List (E-mail) Subject: clustering help Hello, I an running tomcat 5.0.28 on redhat 9 and having some clustering problem. Here

Re: Clustering in Tomcat

2004-11-25 Thread Gaurav Vaish
Thanks everybody for your help. It's working fine now. The problem was with pooling. One server had pooling while the other did not. Cheers, Gaurav On Thu, 25 Nov 2004 10:33:21 -, Dale, Matt <[EMAIL PROTECTED]> wrote: > > Have you got the tag in your context's web.xml? Do all the > obje

RE: Clustering in Tomcat

2004-11-25 Thread Dale, Matt
Have you got the tag in your context's web.xml? Do all the objects in your session implement Serializable? -Original Message- From: Gaurav Vaish [mailto:[EMAIL PROTECTED] Sent: 25 November 2004 04:07 To: Tomcat Users List Subject: Clustering in Tomcat Hi, I am facing an issue with

Re: Clustering in Tomcat

2004-11-25 Thread Faisal Abdullah
I don't know the answer to that, but here's a Cluster/Session Replication HOWTO, in case it might help. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Regards, Faisal On Thu, 25 Nov 2004 09:36:52 +0530, Gaurav Vaish <[EMAIL PROTECTED]> wrote: > Hi, > >I am facing an issu

RE : Clustering and Load balancing

2004-11-10 Thread LERBSCHER Jean-Pierre
You have to follow the rules included in the document (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html ) . All your session attributes must implement java.io.Serializable . Uncomment the Cluster element in server.xml Define multicast address and port for your cluster communicat

RE: Clustering and Load balancing

2004-11-10 Thread Dale, Matt
Hi, There is a load of information in the tomcat documentation. Your post is a bit vague about what you actually want to know. I'd suggest reading the documentation then coming back here if you have any more specific questions or problems. But a hint to get you on the road. There is a clusteri

RE: Clustering and session replication

2004-09-30 Thread Ivan Vasquez
al Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 12:11 PM To: Tomcat Users List Subject: Re: Clustering and session replication oh, really, not a problem in 5.0.25, very interesting, please add that to the comments as the actual cluster code didn't

Re: Clustering and session replication

2004-09-30 Thread Filip Hanik - Dev
Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2004 10:49 AM Subject: RE: Clustering and session replication Filip, We will file a bug. In the meantime we will try 5.0.25 as it appears it doesn't have the problem. Thanks a lot. Ivan. -Original Message--

RE: Clustering and session replication

2004-09-30 Thread Ivan Vasquez
Filip, We will file a bug. In the meantime we will try 5.0.25 as it appears it doesn't have the problem. Thanks a lot. Ivan. -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 11:39 AM To: Tomcat Users List Subject: Re: Clust

Re: Clustering and session replication

2004-09-30 Thread Filip Hanik - Dev
ction so that is why I haven't seen what you are seeing Filip - Original Message - From: "Ivan Vasquez" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Cc: "Brian Lawrence" <[EMAIL PROTECTED]> Sent: Thursday, Septe

RE: Clustering and session replication

2004-09-30 Thread Ivan Vasquez
Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 5:14 PM To: Tomcat Users List Subject: Re: Clustering and session replication let me reiterate org.apache.catalina.cluster.tcp.SimpleTcpCluster messageDataReceived WARNING: Context manager doesn't exist:/nahrgisdev

Re: Clustering and session replication

2004-09-29 Thread Filip Hanik - Dev
make sure this "10.0.0.2" server has the context correctly configured and started up Filip - Original Message - From: "Ivan Vasquez" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 29, 2004 3:54 PM Subje

Re: Clustering and session replication

2004-09-29 Thread Filip Hanik - Dev
Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 29, 2004 3:54 PM Subject: RE: Clustering and session replication Filip, Thanks for your reply. Each app has identical web.xml files: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XM

RE: Clustering and session replication

2004-09-29 Thread Ivan Vasquez
l Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 4:17 PM To: Tomcat Users List Subject: Re: Clustering and session replication org.apache.catalina.cluster.tcp.SimpleTcpCluster messageDataReceived WARNING: Context manager doesn't exist:/nahrgisdev

Re: Clustering and session replication

2004-09-29 Thread Filip Hanik - Dev
org.apache.catalina.cluster.tcp.SimpleTcpCluster messageDataReceived WARNING: Context manager doesn't exist:/nahrgisdev this is telling you that the server that spits out this message does not have a context configured by the name "nahrgisdev" all the servers in the cluster must have the all t

Re: Clustering and Virtual Hosts

2004-09-08 Thread Filip Hanik - Dev
Computer 1: You don't want to have the same multicast address. this address is what decides group membership. There is no point in two contexts from two different virtual host to be part of the same group, it will do nothing but cause over head. So give each virtual host their own mcast address.

RE: Clustering/high availability without JDK1.4

2004-07-13 Thread Chris Todd
I will do. Regards, Chris > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 9:23 AM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: RE: Clustering/high availability without JDK1.4 > > > > Hi, > The no

RE: Clustering/high availability without JDK1.4

2004-07-13 Thread Shapira, Yoav
Hi, The notes for patchset 5 and 6 suggest you can pretty much use FreeBSD JDK 1.4 without a problem, it passes compatibility tests for JDK 1.4.2 etc: http://www.freebsd.org/java/dists/14.html. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Chris Todd [mailto:[E

Re: Clustering/high availability without JDK1.4

2004-07-13 Thread Peter Rossbach
Hey Chris, I thing you can use a javagroup solution. Look at http://www.jgroups.org/javagroupsnew/docs/index.html Little bit old but usefull implementation from Filip Tomcat-jg... http://sourceforge.net/projects/tomcat-jg regards peter Chris Todd schrieb: Is there any way to achieve high availabili

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 12:25 PM To: Tomcat Users List Subject: Re: Clustering on Tomcat 5.0.26 with DeltaManager duh, didn't read your message all the way through. look in the other log files, it should get logged so

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
D]> Sent: Wednesday, June 09, 2004 12:12 PM Subject: Re: Clustering on Tomcat 5.0.26 with DeltaManager > you should also see a stack trace, please post that one to the list, > that should give us all the info we need. Most likely is that one of your attributes > are not serializable

RE: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Matt Smith
12:13 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Clustering on Tomcat 5.0.26 with DeltaManager you should also see a stack trace, please post that one to the list, that should give us all the info we need. Most likely is that one of your attributes are not serializable Filip --

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
you should also see a stack trace, please post that one to the list, that should give us all the info we need. Most likely is that one of your attributes are not serializable Filip - Original Message - From: "Matt Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June

RE: Clustering / Load Balancer / Session Cookie

2004-06-01 Thread Dale, Matt
needs. Ta Matt -Original Message- From: Kommuru, Bhaskar [mailto:[EMAIL PROTECTED] Sent: 01 June 2004 16:08 To: 'Tomcat Users List' Subject: RE: Clustering / Load Balancer / Session Cookie Dale, Is it better than mod_jk2? Thanks -Original Message- From: Dale, Ma

RE: Clustering / Load Balancer / Session Cookie

2004-06-01 Thread Kommuru, Bhaskar
Dale, Is it better than mod_jk2? Thanks -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 4:50 PM To: Tomcat Users List Subject: RE: Clustering / Load Balancer / Session Cookie Just a quick post to say thanks, we went live using pen and 3

RE: Clustering / Load Balancer / Session Cookie

2004-06-01 Thread Dale, Matt
on and no problems whatsoever so far. Ta Matt -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 29 April 2004 15:47 To: Tomcat Users List Subject: Re: Clustering / Load Balancer / Session Cookie http://siag.nu/pen http://balance.sourceforge.net pen is my favorite

RE: Clustering problem with web.xml

2004-05-13 Thread Ram Mahajan
PROTECTED] Sent: Thursday, May 13, 2004 10:52 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Clustering problem with web.xml check your web.xml for a mistake > The markup in the document following the root element must be > well-formed. or open it in an xml editor, it will tel

Re: Clustering problem with web.xml

2004-05-13 Thread Filip Hanik - Dev
check your web.xml for a mistake > The markup in the document following the root element must be well-formed. or open it in an xml editor, it will tell you right away Filip - Original Message - From: "Gabriele Paciucci" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 13,

Re: Clustering with 5.0.19

2004-05-07 Thread Filip Hanik - Dev
From: "Sam Lawrence" <[EMAIL PROTECTED]> To: "Tomcat" <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 3:10 AM Subject: RE: Clustering with 5.0.19 Filip, Not sure if you saw this yesterday, I think there were some email problems. Any help would be greatly appre

RE: Clustering with 5.0.19

2004-05-07 Thread Sam Lawrence
- Dev [mailto:[EMAIL PROTECTED] Sent: 05 May 2004 15:31 To: Tomcat Users List Subject: Re: Clustering with 5.0.19 useDirtyFlag is not used with the DeltaManager, only with the SimpleTcpReplicationManager. As the name suggest, the DeltaManager only replicates deltas, and hence it can only replicat

RE: Clustering with 5.0.19

2004-05-05 Thread Sam Lawrence
bject: Re: Clustering with 5.0.19 useDirtyFlag is not used with the DeltaManager, only with the SimpleTcpReplicationManager. As the name suggest, the DeltaManager only replicates deltas, and hence it can only replicate when the session is dirty. The clustering configuration has changed a little bit

Re: Clustering with 5.0.19

2004-05-05 Thread Filip Hanik - Dev
useDirtyFlag is not used with the DeltaManager, only with the SimpleTcpReplicationManager. As the name suggest, the DeltaManager only replicates deltas, and hence it can only replicate when the session is dirty. The clustering configuration has changed a little bit since 5.0.19, to make it more

RE: Clustering Application Scope Objects

2004-04-12 Thread Filip Hanik \(lists\)
Filip -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: Sunday, April 11, 2004 10:53 PM To: Tomcat Users List; Struts Users Mailing List Subject: RE: Clustering Application Scope Objects >>>how would you solve conflicts? For my purposes, I would let the d

RE: Clustering Application Scope Objects

2004-04-11 Thread Mike Duffy
>>>how would you solve conflicts? For my purposes, I would let the database manage conflicts. Each application scope object would be tied to the database, a change made on a specific application server would first update the database. For example, the information from a table containing label/

RE: Clustering Application Scope Objects

2004-04-11 Thread Filip Hanik \(lists\)
not implemented right now, how would you solve conflicts? Filip -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 5:48 PM To: Tomcat Users List Subject: Clustering Application Scope Objects I've read documentation for The Tomcat 5 Servlet/JSP C

RE: clustering/replication tomcat 5

2004-03-26 Thread Filip Hanik \(lists\)
should be a document in the doc folder shipped with tomcat. steps are pretty simple 1. ucomment the cluster section in server.xml 2. add to web.xml 3. make all your attributes serializable 4. if you have two or more tomcat instances on the same machine then you will need to adjust the tcpListen

RE: clustering question?

2004-03-11 Thread Filip Hanik \(lists\)
at most 4 cluster members, the cluster is at a host level, so yes, that would be 4 hosts in your scenario Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 7:53 AM To: Tomcat Users List Subject: Re: clustering question? So let me

Re: clustering question?

2004-03-10 Thread daniel
it). Which lives on 2 tomcat boxes running and will be adding more in the long run. Thanks Daniel Schulken - Original Message - From: "Aadi Deshpande" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, March 09, 2004 11:41 AM

Re: clustering question?

2004-03-09 Thread David Rees
Alex wrote, On 3/9/2004 10:26 PM: thanks for the reply. I do indeed have that tag in web.xml for that web application. 40 this is correct, yes? The distributable element should go before any context-param elements and after any description elements. See the DTD

Re: clustering question?

2004-03-09 Thread Alex
cat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: clustering question? > > like many other people, you probably don't have the element > > > in your web.xml > > Filip

Re: clustering question?

2004-03-09 Thread devlists
gt; On Tue, 9 Mar 2004, Aadi Deshpande wrote: > >> Date: Tue, 09 Mar 2004 16:29:36 -0500 >> From: Aadi Deshpande <[EMAIL PROTECTED]> >> Reply-To: Tomcat Users List <[EMAIL PROTECTED]> >> To: Tomcat Users List <[EMAIL PROTECTED]> >> Subject: Re: cluster

Re: clustering question?

2004-03-09 Thread Alex
MAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: clustering question? > > Hi, > > The register requests error is independent of the cluster setup ( like > Filip said ) and will in no way

Re: clustering question?

2004-03-09 Thread Aadi Deshpande
wrote: Date: Tue, 9 Mar 2004 13:44:08 -0600 From: "Filip Hanik (lists)" <[EMAIL PROTECTED]> Reply-To: Tomcat Users List <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: RE: clustering

RE: clustering question?

2004-03-09 Thread Alex
o and neither are working. *sigh* On Tue, 9 Mar 2004, Filip Hanik (lists) wrote: > Date: Tue, 9 Mar 2004 13:44:08 -0600 > From: "Filip Hanik (lists)" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTE

RE: clustering question?

2004-03-09 Thread Filip Hanik \(lists\)
that is correct, should work out of the box :) Filip -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 1:23 PM To: Tomcat Users List Subject: RE: clustering question? jk2 is only being utilized to provide the connection between IIS5.0 and tomcat

RE: clustering question?

2004-03-09 Thread Alex
o: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: clustering question? > > to get session replication working, take jk2 out of the equation first. > use a loadba

RE: clustering question?

2004-03-09 Thread Filip Hanik \(lists\)
a week now... On Tue, 9 Mar 2004, Filip Hanik (lists) wrote: > Date: Tue, 9 Mar 2004 13:04:00 -0600 > From: "Filip Hanik (lists)" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subje

RE: clustering question?

2004-03-09 Thread Alex
IL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: clustering question? > > I also stronly recommend using "pooled" as a replication mode, it is fast > and guaranteed - To uns

RE: clustering question?

2004-03-09 Thread Alex
Tue, 9 Mar 2004, Filip Hanik (lists) wrote: > Date: Tue, 9 Mar 2004 13:04:00 -0600 > From: "Filip Hanik (lists)" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: clu

RE: clustering question?

2004-03-09 Thread Filip Hanik \(lists\)
I also stronly recommend using "pooled" as a replication mode, it is fast and guaranteed Filip -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 12:35 PM To: Tomcat Users List Subject: RE: clustering question? Mar 9, 2004

RE: clustering question?

2004-03-09 Thread Filip Hanik \(lists\)
on RH9, you MUST set export LD_ASSUME_KERNEL=2.4 before starting your Java process. There is a bug in the java.nio package Filip -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 12:35 PM To: Tomcat Users List Subject: RE: clustering question

RE: clustering question?

2004-03-09 Thread Alex
:31 -0600 > From: "Filip Hanik (lists)" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: clustering question? > > request.registerRequests=false is related to jk2 and not t

RE: clustering question?

2004-03-09 Thread Filip Hanik \(lists\)
request.registerRequests=false is related to jk2 and not to session replication. what is your problem with session replication? Filip -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 11:53 AM To: Tomcat Users List Subject: Re: clustering question

Re: clustering question?

2004-03-09 Thread Alex
Mar 2004 11:41:43 -0500 > From: Aadi Deshpande <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: clustering question? > > Hi, > > You're changing the wrong port. > You shou

Re: clustering question?

2004-03-09 Thread Aadi Deshpande
Hi, You're changing the wrong port. You should not change the mcastPort, instead you should change the tcpListenPort The mcastPort and mcastAddr should be the same for every instance participating in the cluster. Also, as a word of advice, it's best to keep the cluster size down to 2-3 ( and

RE: clustering tomcat 5.0.19 issues

2004-03-03 Thread Filip Hanik \(lists\)
>1) context manager doesn't exist. yep, I am only printing this because of debug. All this means is that you are a member of the cluster but the server has not fully started up yet. hence you are receiving messages for a non existent context. >2)Unable to send replicated message, is server down?

RE: Clustering Tomcat 5.0.19

2004-03-01 Thread Filip Hanik \(lists\)
works just fine for me. The configuration file changed between version 0.16 and 0.19, so make sure you have the 0.19 server.xml Filip -Original Message- From: Duma Rolando [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: Clustering Tomcat 5.0.1

Re: Clustering question...

2004-01-21 Thread Peter Lin
if I understand correctly, you have multiple tomcat instances. 1. each system has the same webapp 2. each system caches data locally 3. you want to update the application context 4. you want the cluster to replicate the application context 5. you didn't design it and have to live with it repl

Re: Clustering question...

2004-01-21 Thread Rick Szeto
As I was not involved in the design decision, I can not say whether or not that it is a good call or not. But the reason that we need application context replication is that the entire site serves up relatively static data(infrequent updates) to all of it the users. They did not feel that hitt

RE: Clustering question...

2004-01-20 Thread Filip Hanik
we are talking about context data (context.setAttribute), not the context itself which you are referring to as the application. Filip -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 6:04 PM To: Tomcat Users List Subject: Re: Clustering

Re: Clustering question...

2004-01-20 Thread Peter Lin
sounds more like cluster deployment tool and not replication at runtime. since tomcat 5 now uses JMX, writing a cluster deployment tool should be straight forward. peter Filip Hanik <[EMAIL PROTECTED]> wrote: application context data doesn't get replicated, since this is not tied to a user,

Re: Clustering question...

2004-01-20 Thread Filip Hanik
application context data doesn't get replicated, since this is not tied to a user, hence it doesn't serve any purpose in fail over. ie, what ever got stored in application context on server A, should have got stored on B by the same mechanism, not by session replication. Is there a huge need to re

Re: Clustering question...

2004-01-20 Thread Filip Hanik
I am still working on performance enhancement for this class but it is ready to go. Filip - Original Message - From: "Rick Szeto" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 20, 2004 11:09 AM Subject: Re: Clustering

Re: Clustering question...

2004-01-20 Thread Rick Szeto
Ok, thanks for your quick response. Rick [EMAIL PROTECTED] wrote: As of now I don' think the Tomcat clustering code of Filip supports any of what you ask. The only thing replicated is the session and the date within. The principal is not replicated as of yet. (I think Filip is working on that)

Re: Clustering question...

2004-01-20 Thread jean-philippe . belanger
As of now I don' think the Tomcat clustering code of Filip supports any of what you ask. The only thing replicated is the session and the date within. The principal is not replicated as of yet. (I think Filip is working on that) You will have to find another centralized spot to store those data

Re: Clustering Tomcat - Loadbalancing and Failover

2003-10-13 Thread Filip Hanik
and fail over you need to have in front of tomcat Filip - Original Message - From: "Hanasaki JiJi" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, October 11, 2003 6:22 AM Subject: Re: Clustering Tomcat - Loadbalancing a

  1   2   >