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
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"
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
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:
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
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
> 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
> 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
: [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
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
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
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
12 matches
Mail list logo