tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Different apps clustering on the same Tomcat?
Date Wed, 20 Jan 2010 03:33:28 GMT
> From: John Tangney [mailto:johnt@jdtangney.com]
> Subject: Different apps clustering on the same Tomcat?
> 
> Is it possible to get two apps in the same Tomcat instance to exchange
> session info, in a cluster? If so, how?

Not sure what you're asking.  If there's only one Tomcat instance, there's no cluster.  Multiple
apps in one Tomcat cannot share a session, since that's prohibited by the servlet spec.  You
can create a bean from a class in a shared library to hold data needed by both apps.

If you really do have a cluster of multiple Tomcat instances, you can choose to replicate
session information across them by any of several means.  Consult the documentation for details:
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


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


Mime
View raw message