Solved

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

Posted on 2008-06-10
1
10,911 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

932 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now