Re: HttpSessionActivationListener problems

2009-02-10 Thread Flavio Crispim
Rui the javadoc says it began on servlet spec 2.3 or since TC 4, see: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSessionActivationListener.html it should be stable enougth. (Am I wrong?) Before I dig a little more, I´m not sure TC can handle such event when the java process is k

Re: HttpSessionActivationListener problems

2009-02-10 Thread Rui Pedro
Thank you for the help. I need to find out other solution ... Do you know any way to distinguish if the one session is invalidated by timeout or because the server have been shutdown? One of the ways is to use session.getMaxInactiveInterval with the current timestamp and the session.getLastAcces

Re: HttpSessionActivationListener problems

2009-02-09 Thread Jess Holle
Last I checked the Tomcat source code neither activation nor passivation listeners were ever called. I believe I provided a patch for this but a glance at the source code will make the issue rather obvious (it's not hard to find or understand). [I'd provide a patch for this but we have a numb

HttpSessionActivationListener problems

2009-02-09 Thread Rui Pedro
Hi! I'm implementing one tomcat cluster solution (tomcat 5.5-20). One of the things that I need to know is when the session jumps from one node to the other. I read that I can use the HttpSessionActivationListener listener to detect that type of occurence. To do so, I put one object in the users s