[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Disabling session cache for select servlets in JBoss 4.2.1GA

moeity do-not-reply at jboss.com
Fri Feb 8 15:42:03 EST 2008


In my small web application, there is a web management side that hosts a small number of long-lived user sessions. I have configured a replicated cluster session cache for these servlets with a 24-hour session timeout, and it works well.

There are also two small servlets that get a large number of small POSTs from a very large number of different clients. I want to completely disable server side sessions for these servlets to conserve memory, and keep the cluster replication traffic down.

Is it possible to completely disable server session caching on a per-servlet basis? From the documentation, I believe I could create a new WAR, but I would really prefer to keep things as simple as I can.  I would also prefer not to create a different subdomain if I can avoid it.

Thank you for any advice,
Moeity

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

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



More information about the jboss-user mailing list