Mark Thomas wrote:
> Jess Holle wrote:
>> I sent the patch quite some time back now, so I'm not sure where it is.
>>
>> Being similarly lazy I'm attaching an excerpt of the patched
>> StandardSession.java (from 5.5.23) with changes embedded in it.
> 
> Thanks for that. I checked the archives and the patch was e-mailed to dev
> but I couldn't find a bugzilla entry. Chances are it just got forgotten about.
> 
> I've looked at your patch and I see what you are doing but don't understand
> why you should need to (or why it then works). The current code should do
> what the spec requires. I'll put together a test case and see if I can
> figure out what is going on.
> 
> I have a busy few days ahead so it might be the middle of next week until I
> have some results.

As luck would have it, I had an old test case lying around. I've tested the
6.0.x trunk (same code as 5.5.x) and the behaviour is as per the spec. If
an attribute implements HttpSessionActivationListener then it gets called
on session persistence and activation. My test causes this by restarting
the app.

There might be a problem in clustered mode. That will take longer to test
because I know I don't have a test case ready to go.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to