AW: Problem with session counting

2004-08-31 Thread Michael Sudkamp
Before calling session.invalidate() I now interrupt the thread which causes a database rollback. Now my JMeter-Tests run fine. > > As for stopping the thread "before invalidating a session," > how will you > control that? You could perform this action as part of the general > "logout" page, bu

Re: Problem with session counting

2004-08-31 Thread QM
On Tue, Aug 31, 2004 at 11:14:29AM +0200, Michael S?dkamp wrote: : In our app for a new session there is a thread started that inserts some : session-specific data into a database. If I replace that thread by synchronous : code, the problem does not occur. : So the solution should be to stop this t

AW: Problem with session counting

2004-08-31 Thread Michael Südkamp
Hm, the API doc for HttpSessionListener states that sessionDestroyed() should be called when a session is invalidated not when the session object will be destroyed. I can wait eternally, for the orphan sessions the sessionDestroyed() method will never be called. I think I am close to the soluti