Wednesday, March 10, 2010

Timeouts in WebLogic Server

The session timeout can be specified in both web.xml and weblogic.xml of a web application (war artifacts). A default timeout setting will be 3600 secs, that is when you don't specify it in either descriptors.

Settings from web.xml will override the settings from weblogic.xml unless -2 is set in web.xml, i.e.

-2


in that case, WebLogic server will apply timeout rules from weblogic.xml to the parent application. A timeout setting from a WebLogic10.3 compatible descriptor file would look like this,


….

3600

….

No comments: