-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gangadhar,
gangadhar p wrote: | Hi guys, I am configuring Tomcat 6 clustering to have more than one instance | access to each others ServletContext attributes. It's not going to happen. See the servlet specification: " SRV.4.4.1 Context Attributes in a Distributed Container Context attributes are local to the JVM in which they were created. This prevents ServletContext attributes from being a shared memory store in a distributed container. When information needs to be shared between servlets running in a distributed environment, the information should be placed into a session (See Chapter SRV.7, “Sessions”), stored in a database, or set in an enterprise JavaBeans(TM) component. " The title of the page for "Apache Tomcat Clustering" is "Apache Tomcat Clustering - Enable session replication in a Apache Tomcat environment" and clearly states that it is a HOW-TO on session replication. | It's said that | ServletContext is clustered by default when Tomcat 6 is clustered Really? Where? See the note in the servlet specification quotation above for ideas on how to share information between running container instances. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg/EzYACgkQ9CaO5/Lv0PCzgQCgsENOXktYKIYDG2UdVvb1LnpO B3gAn3+QWbSKcCKX4VXxrnXnpeGG0wve =Hxor -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]