Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Difference between session timeout descriptors in web.xml and weblogic.xml

Posted on 2008-06-10
1
10,920 Views
Last Modified: 2013-12-10
Given example below - please elaborate on how you expect the timeout for a web app to behave
given the  configuration below exists in both files (web.xml and weblogic.xml).   Please elaborate -
appreciate the detail.  Thanks.

from web.xml  (30 minutes)
  <session-config>
       <session-timeout>30</session-timeout>
  </session-config>

from weblogic.xml (60 minutes)
<session-param>
   <param-name>TimeoutSecs</param-name>
   <param-value>3600</param-value>
</session-param>
0
Comment
Question by:booksplus
1 Comment
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 21780221
The value in the web.xml *always* overrides (takes precedence over) the value in the weblogic.xml. So the session should time out in 30 minutes. For more information

http://edocs.bea.com/wls/docs81/webapp/web_xml.html#1017275
http://edocs.bea.com/wls/docs81/webapp/weblogic_xml.html#1038173
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question