Troubleshooting
Problem
Changing the Yantra Console Timeout setting
Symptom
How to change timeout in Yantra 5x?
Cause
Resolving The Problem
eg: set timeout to 20 secs in DENALI using Weblogic
1. Create a
weblogic.xml file. Put this weblogic.xml in the descriptors directory (same
place where the web.xml is kept)
//EN"
"http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
<weblogic-web-a
pp>
<session-descriptor>
<session-param>
<param-name>TimeoutSecs</param-name>
<param-value>20</param-value>
</session-param>
</session-descriptor>
</weblogic-web-app>
This
parameter Sets the time, in seconds, that WebLogic Server waits before timing
out a session, where x is the number of seconds between a session's activity.
It can be overridden by the session-timeout element (defined in minutes) in
web.xml.
2. Add the following <session-config> element under the
<web-app> node in web.xml.
<web-app>
... (other info)
...
<session-config>
<session-timeout>-2</session-timeout>
</session-config>
</web-app>
Values: this value specifies the number
of minutes (unlike number of seconds in weblogic.xml) after which sessions in
this Web Application expire. The value set in this element overrides the value
set in the TimeoutSecs parameter of the <session-descriptor> element in the
WebLogic-specific deployment descriptor weblogic.xml, unless one of the special
values listed here is entered.
Special values:
-2 = Use the value set
by TimeoutSecs in <session-descriptor> element of weblogic.xml
-1 =
Sessions do not timeout. The value set in <session-descriptor> element of
weblogic.xml is ignored.
Default value: -2
Historical Number
PRI49066
Product Synonym
[<p><b>]Fact[</b><p>];
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21534899