This content has been marked as final. Show 5 replies
It seems that the timeout is correctly honored with your application but not reflected by the Admin console.
HTTP session timeout can be set via web.xml (session-timeout) or weblogic.xml (param-name TimeoutSecs). The timeout set in web.xml takes precedence over whatever value can be set in weblogic.xml. However the console displays the value set in weblogic.xml.
So, since you are using the setting in web.xml, you might want to make sure that no value is set in weblogic.xml, or just set the same value there.
The value of the session-timeout element (defined in minutes) in web.xml overrides the value of timeout-secs defined in both weblogic.xml and weblogic-application.xml. The value of timeout-secs in weblogic.xml overrides the value defined in weblogic-application.xml.
So better set the parameter in Web.xml which precedes all the descriptor files.
I have tested this functionality in WL 10.3.3 and it works.
Below are the details of my testing.
Included below tag in weblogic.xml and deployed application and the modification got reflected at console Application --> Configuration-->General Tab.
If this functionality is pretty much required for your environment either upgrade to 10.3.3 or later versions of WLS.
Hope this answers your query and mark this Thread accordingly so that it helps others in getting correct answer easily.
We are on 10.3.5 Weblogic. Though console is not getting updated with the new value.
Its working for me in WLS 10.3.5 as well..
Pleaes let me know in clear steps how exactly you are trying to do?