Solved

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

Posted on 2008-06-10
1
10,934 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
[X]
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
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…

734 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