This content has been marked as final.
Show 5 replies
-
1. Re: Setting conversation timeout in Tomcat 6
fernando_jmt Jun 17, 2011 10:43 AM (in response to aagenielsen.aagnie.gmail.com)You can do:
@Inject private HttpConversationContext conversationContext; .... conversationContext.setDefaultTimeout(10000); ..
HTH.
-
2. Re: Setting conversation timeout in Tomcat 6
aagenielsen.aagnie.gmail.com Jun 22, 2011 10:33 AM (in response to aagenielsen.aagnie.gmail.com)Super! it works.
Any hint to where to initialize it ? but at the obvious place - in every possible
start-conversation-bean
?/aage
-
3. Re: Setting conversation timeout in Tomcat 6
fernando_jmt Jun 22, 2011 2:52 PM (in response to aagenielsen.aagnie.gmail.com)You can do this after a valid login.
-
4. Re: Setting conversation timeout in Tomcat 6
aagenielsen.aagnie.gmail.com Jun 23, 2011 3:15 AM (in response to aagenielsen.aagnie.gmail.com)Could you be a little more specific ? A phaselistener ? an applicationscope bean ? our just plain old servlet with a startup parameter with value 1 ?
Our login are not handle by our jsf application.
/aage
-
5. Re: Setting conversation timeout in Tomcat 6
fernando_jmt Jun 23, 2011 8:07 AM (in response to aagenielsen.aagnie.gmail.com)An application scoped bean would be fine, it is up to you where to do it.