You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marco Bucciarelli <mb...@edp-progetti.it> on 2003/05/23 18:30:37 UTC

Avoid session expiration if some class changes

Is there a way to tell Tomcat4 (4.1.18) not to kill a session after changes in the classes under WEB-INF/classes or WEB-INF/lib?
I set the reloadable="true" parameter under the context tag in server.xml, to tell Tomcat to see if a class has changed. This works fine but I get a session expiration for all the users browsing that context at that time.
It would be nice to have servlets and JavaBeans behave similar to jsps, which are recompiled but do not cause a session expiration.
Is this possible?
Is it also possible to have a class reload if I change the jars in collon/lib or shared/lib, without a Tomcat restart?

Thanks,
Marco.