> From: John Tangney [mailto:jo...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to