Found the answer from tomcat's faq:

"7. How do I share sessions across webapps?

You cannot share sessions directly across webapps, as that would be a violation 
of the Servlet Specification. There are workarounds, including using a 
singleton class loaded from the common classloader repository to hold shared 
information, or putting some of this shared information in a database or 
another data store. Some of these approaches have been discussed on the 
tomcat-user mailing list, whose archives you should search for more 
information. 

Sharing sessions across contains for clustering or replication is a different 
matter altogether."

If my wars are all in a single ear, is there perhaps a solution using JBoss' 
single classloader for the one ear?

Any ideas/experience with this?

There must be some experiences :-)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860731#3860731

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860731


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to