Re: [orchestra] Conversation Timeouts (was changed scope configuration)

2007-09-10 Thread Mario Ivankovits
Hi! IMHO, a conversation should behave exactly the same as the session does today - per default. There is nothing elementary different just because you can have a multitude of conversations per user. Getting in touch to the servlet timeout means we have to extend the FrameworkAdapter

Re: [orchestra] Conversation Timeouts (was changed scope configuration)

2007-09-09 Thread Martin Marinschek
[EMAIL PROTECTED] Date: Saturday, Sep 8, 2007 8:36 pm Subject: Re: [orchestra] Conversation Timeouts (was changed scope configuration) To: Reply-MyFaces Development dev@myfaces.apache.orgTo: MyFaces Development dev@myfaces.apache.org Ok, so I guess orchestra could use that same

Re: [orchestra] Conversation Timeouts (was changed scope configuration)

2007-09-08 Thread simon
Currently the config for a scope (from which a conversation inherits its properties) looks like this: bean class=...orchestra.spring.SpringConversationScope property name=timeout value=30/ /bean If no timeout property is present, then no timeout applies. Otherwise, the specified

Re: [orchestra] Conversation Timeouts (was changed scope configuration)

2007-09-08 Thread Mario Ivankovits
Hi! If no timeout property is present, then no timeout applies. Otherwise, the specified timeout applies. You are right too with all you said. Hmmm No pc here yet, but, how do a servlet container behave if there is no session timeout configured or is it a required configuration? Ciao,

Re: [orchestra] Conversation Timeouts (was changed scope configuration)

2007-09-08 Thread Bernhard Huemer
Hello, according to the Servlet specification: /// The session-timeout element defines the default session timeout interval for all sessions created in this web application. The specified timeout must be expressed in a whole number of minutes. If the timeout is 0 or less, the container ensures

Re: [orchestra] Conversation Timeouts (was changed scope configuration)

2007-09-08 Thread simon
Ok, so I guess orchestra could use that same convention. This is still a magic number that people will need to look up in the docs, though. I still think it is more intuitive for people to not get a conversation timeout unless they configure one. There will be absolutely no surprised developers

Re: [orchestra] Conversation Timeouts (was changed scope configuration)

2007-09-08 Thread Mario Ivankovits
- From: simon [EMAIL PROTECTED] Date: Saturday, Sep 8, 2007 8:36 pm Subject: Re: [orchestra] Conversation Timeouts (was changed scope configuration) To: Reply-MyFaces Development dev@myfaces.apache.orgTo: MyFaces Development dev@myfaces.apache.org Ok, so I guess orchestra could use

Re: [orchestra] conversation timeouts

2007-08-19 Thread Mario Ivankovits
Hi! Currently orchestra has a feature that causes conversations that have not been accessed within 30 minutes to automatically be deleted. Similarly, conversation-contexts that have not been accessed within 30 minutes also get deleted. This came up [1] in relation to Shale dialogs [2],

[Fwd: Re: [orchestra] conversation timeouts]

2007-08-19 Thread simon
Forwarded Message From: simon [EMAIL PROTECTED] To: MyFaces Development dev@myfaces.apache.org Subject: Re: [orchestra] conversation timeouts Date: Sat, 18 Aug 2007 13:07:29 +0200 On Sat, 2007-08-18 at 12:47 +0200, Mario Ivankovits wrote: I briefly considered having an app

[Fwd: Re: [orchestra] conversation timeouts]

2007-08-19 Thread simon
Forwarded Message From: simon [EMAIL PROTECTED] To: MyFaces Development dev@myfaces.apache.org Subject: Re: [orchestra] conversation timeouts Date: Sat, 18 Aug 2007 13:35:07 +0200 On Sat, 2007-08-18 at 10:19 +0200, simon wrote: The current implementation is for a Thread

[Fwd: Re: [orchestra] conversation timeouts]

2007-08-19 Thread simon
Forwarded Message From: simon [EMAIL PROTECTED] To: MyFaces Development dev@myfaces.apache.org Subject: Re: [orchestra] conversation timeouts Date: Sat, 18 Aug 2007 18:44:19 +0200 Hi Adam, Thanks for your comments. Yes, hitchhiking on other requests would be great - if we

Re: [Fwd: Re: [orchestra] conversation timeouts]

2007-08-19 Thread Mario Ivankovits
Hi! One issue is that garbage collection only happens at some random time after the session is no longer used. So the timeout thread could end up calling into the ConversationManager even after the session has been explicitly removed. Possibly the ConversationManager could implement

[orchestra] conversation timeouts

2007-08-18 Thread simon
Hi All, Currently orchestra has a feature that causes conversations that have not been accessed within 30 minutes to automatically be deleted. Similarly, conversation-contexts that have not been accessed within 30 minutes also get deleted. I don't personally see the use of this, but have been

Re: [orchestra] conversation timeouts

2007-08-18 Thread Mario Ivankovits
Hi! Currently orchestra has a feature that causes conversations that have not been accessed within 30 minutes to automatically be deleted. Similarly, conversation-contexts that have not been accessed within 30 minutes also get deleted. I don't personally see the use of this, but have been

Re: [orchestra] conversation timeouts

2007-08-18 Thread Adam Winer
Mostly ignorant of orchestra, but: Could you hitchhike on other requests? On any request, look through a conversation list, and any that haven't been accessed within 30 minutes get deleted. If no requests are coming in, then one really doesn't care about excessive resource use. :) Finding a way

Re: [orchestra] conversation timeouts

2007-08-18 Thread Rahul Akolkar
On 8/18/07, simon [EMAIL PROTECTED] wrote: Hi All, Currently orchestra has a feature that causes conversations that have not been accessed within 30 minutes to automatically be deleted. Similarly, conversation-contexts that have not been accessed within 30 minutes also get deleted. I don't