-
1. Re: What is the default conversation timeout in WELD?
tremes Sep 21, 2016 7:22 AM (in response to rsoika)Hi Ralph,
Please check Weld 2.4.0.Final - CDI Reference Implementation and especially Weld 2.4.0.Final - CDI Reference Implementation
-
2. Re: What is the default conversation timeout in WELD?
rsoika Sep 21, 2016 1:08 PM (in response to tremes)Thanks for your response. I thought that the timeout is coupled to the web session timeout. So thanks you for your hint.
I now placed the file 'weld.properties' into /WEB-INF/classes/
Is this the right place? Because all other files (e.g. jboss-web.xml) are located directly under /WEB-INF/
-
3. Re: What is the default conversation timeout in WELD?
tremes Sep 22, 2016 4:31 AM (in response to rsoika)Yes WEB-INF/classes/ is the right place.
-
4. Re: What is the default conversation timeout in WELD?
rsoika Sep 22, 2016 5:08 AM (in response to tremes)I now use the following code to synchronize my conversation timeout with the current httpSession timeout
conversation.setTimeout(((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext(). getRequest()).getSession().getMaxInactiveInterval()*1000);
-
5. Re: What is the default conversation timeout in WELD?
dhladky May 10, 2017 9:07 AM (in response to rsoika)I am trying to configure the timeout globally as well. I created WEB-INF/classes/weld.properties file and added
org.jboss.weld.conversation.timeout=1200000
I get:
14:54:30,695 WARN [org.jboss.weld.Configuration] (MSC service thread 1-4) WELD-001904: Unsupported configuration key found and ignored: org.jboss.weld.conversation.timeout
I use EAP 7. Any idea what I might be doing wrong? Thank you.
-
6. Re: What is the default conversation timeout in WELD?
tremes May 10, 2017 9:29 AM (in response to dhladky)1 of 1 people found this helpfulThis configuration key has been added to Weld 2.3.4.Final - see [WELD-2113] Conversations - allow to configure defaultTimeout and concurrentAccessTimeout - JBoss Issue Tracker So if you are using the older Weld version then you will likely see this warning.