tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lauer, Oliver" <Oliver.La...@AXA.de>
Subject AW: Distributed Session Managment / Clusters
Date Wed, 07 Nov 2001 17:12:38 GMT
cool :-) I'll try the same.

> AXA eSolutions GmbH
> AXA Konzern AG Germany
> Oliver Lauer 
> Web Architect
> Wörthstraße 34
> D-50668 Köln
> Germany
> Tel.: +49 221 148 31277
> Fax: +49 221 148 43963
> Mobil: +49 179 59 064 59
> e-Mail: Oliver.Lauer@axa.de
> _____________________________
> 


-----Ursprüngliche Nachricht-----
Von: Tom Drake [mailto:rtd@pobox.com]
Gesendet: Mittwoch, 7. November 2001 18:02
An: Tomcat Users List
Betreff: Re: Distributed Session Managment / Clusters


I read the source code.

----- Original Message -----
From: "Lauer, Oliver" <Oliver.Lauer@AXA.de>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>; "'Tom Drake'"
<rtd@pobox.com>
Sent: Wednesday, November 07, 2001 8:25 AM
Subject: AW: Distributed Session Managment / Clusters


| Thanx, it helps but where did you found the information to do so ?
|
| > AXA eSolutions GmbH
| > AXA Konzern AG Germany
| > Oliver Lauer
| > Web Architect
| > Wörthstraße 34
| > D-50668 Köln
| > Germany
| > Tel.: +49 221 148 31277
| > Fax: +49 221 148 43963
| > Mobil: +49 179 59 064 59
| > e-Mail: Oliver.Lauer@axa.de
| > _____________________________
| >
|
|
| -----Ursprüngliche Nachricht-----
| Von: Tom Drake [mailto:rtd@pobox.com]
| Gesendet: Mittwoch, 7. November 2001 17:06
| An: Tomcat Users List
| Betreff: Re: Distributed Session Managment / Clusters
|
|
| Oliver:
|
| I can't give you a definitive answer, because I haven't done it yet.
| However, If you look in the server.xml that comes with the tomcat
| binary distribution, you'll find an entry for PersistentManager under
| the /examples context. From what I can tell, you'll need to take these
| steps:
|   - clone this into your context
|   - change the name to DistributedManager
|   - Add a Cluster definition inside the Engine definition
|
| I think the Cluster definition may need to look like this:
|
| <Cluster
|   className="org.apache.cluster.StandardCluster"
|   clusterName="The name of your cluster"
|   checkInterval="interval in seconds to sleep between checking for data on
| the multicast socket"
|   multicastPort="Port number to listen on"
|   multicastAddress="inet address for multicast (See rfc3171)"
|
| />
|
| This may not be correct, but I hope it is helpful. Let me know if you are
| successful
|
| ----- Original Message -----
| From: "Lauer, Oliver" <Oliver.Lauer@AXA.de>
| To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>; "'Tom Drake'"
| <rtd@pobox.com>
| Sent: Wednesday, November 07, 2001 4:31 AM
| Subject: AW: Distributed Session Managment / Clusters
|
|
| | How did you configure Tomcat to do so ? I don't know the answer to your
| | question but I'm interested in how you've set up the TC cluster cause I
| | didn't find anything in the docs.
| | Thanx
| | Oliver
| |
| | > AXA eSolutions GmbH
| | > AXA Konzern AG Germany
| | > Oliver Lauer
| | > Web Architect
| | > Wörthstraße 34
| | > D-50668 Köln
| | > Germany
| | > Tel.: +49 221 148 31277
| | > Fax: +49 221 148 43963
| | > Mobil: +49 179 59 064 59
| | > e-Mail: Oliver.Lauer@axa.de
| | > _____________________________
| | >
| |
| |
| | -----Ursprüngliche Nachricht-----
| | Von: Tom Drake [mailto:rtd@pobox.com]
| | Gesendet: Dienstag, 6. November 2001 19:47
| | An: Tomcat Users List
| | Betreff: Distributed Session Managment / Clusters
| |
| |
| | Can someone help me understand how the Distributed Session
| | Management works. From what I can tell, if you have a cluster
| | of Tomcat 4.x instances running, and you've configured each of
| | them to use the 'DistributedManager' for managing Session
| | data, then :
| |
| | - each time a new session is created, a copy is broadcast
| |   (UDP/Multicast) to the the other Tomcat instances.
| | - When the other sessions receive the remote Session object
| |    they append this object to a 'stack' (managed by a
| |   ClusterReceiver object).
| | - The DistributedManager has it's own background thread that
| |    periodically wakes up and moves any remote Session objects
| |    from it's ClusterReceiver into its own list of Sessions.
| |
| | I cannot find any code that causes an updated Session to be broadcast
| | to the other Tomcat instances. Am I missing something?
| |
| | As an alternative, I could use the JDBC Session store mechanism to
| | persist Sessions to a database. In my case, the database is far to
| | heavyweight of a solution. I don't have the need for persistence other
| | than in a very transitory way, that is to say, that I need for each
Tomcat
| | instance to have an 'up-to-date' copy of the users Session.
| |
| | Regards,
| |
| | Tom Drake
| |
| |
| | --
| | To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| | For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| | Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
| |
| |
| | ----------------------------
| | Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
| Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
| reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach.
Beachten
| Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
| Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht
gestattet
| ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
| oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
| dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
| Absender der E-Mail in Verbindung zu setzen.
| | ----------------------------
| | For legal and security reasons the information provided in this e-mail
is
| not legally binding. Upon request we would be pleased to provide you with
a
| legally binding confirmation in written form. Any form of unauthorised
use,
| publication, reproduction, copying or disclosure of the content of this
| e-mail is not permitted. This message is exclusively for the person
| addressed or their representative. If you are not the intended recipient
of
| this message and its contents, please notify the sender immediately.
| | ---------------------------
| |
| |
| |
| |
|
|
|
| --
| To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|
|
| ----------------------------
| Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten
Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet
ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
Absender der E-Mail in Verbindung zu setzen.
| ----------------------------
| For legal and security reasons the information provided in this e-mail is
not legally binding. Upon request we would be pleased to provide you with a
legally binding confirmation in written form. Any form of unauthorised use,
publication, reproduction, copying or disclosure of the content of this
e-mail is not permitted. This message is exclusively for the person
addressed or their representative. If you are not the intended recipient of
this message and its contents, please notify the sender immediately.
| ---------------------------
|
|
|
|



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


----------------------------
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich.
Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher
Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht
 ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten
Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir
Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
----------------------------
For legal and security reasons the information provided in this e-mail is not legally binding.
Upon request we would be pleased to provide you with a legally binding confirmation in written
form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the
content of this e-mail is not permitted. This message is exclusively for the person addressed
or their representative. If you are not the intended recipient of this message and its contents,
please notify the sender immediately.
---------------------------



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message