Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-10
1
Medium Priority
?
10,972 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 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

963 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