Session Timeout
The session timeout specifies the number of minutes in which the communication session between the WAS and the client will timeout if there is no user activity, which results in the Action Processor timing out. If the session times out, a message similar to the following is displayed:
The following subsections describe how to change the session timeout in Tomcat, WebLogic, and IIS. If you are using a different application server, see the documentation for that server.
Note |
Also see the Session Monitor parameter on Session Timeout. |
Tomcat Session Timeout
By default, the session timeout on Tomcat is 30 minutes. To specify a different session timeout:
1. | Add the <session-timeout> element to the following configuration file: |
TomcatDir
\webapps\
APDir
\WEB-INF\web.xml
where TomcatDir
is the directory in which Tomcat is installed, and APDir
is the directory in which the Action Processor is installed (which defaults to TIBCOActProc).
The <session-timeout> element must be added to the <session-config> element, for example:
<session-config>
<cookie-config>
<name>
ACROSTIC_ID
</name>
</cookie-config>
<session-timeout>30</session-timeout>
</session-config>
2. | Set the value of the <session-timeout> element to the number of minutes for the timeout. A value of -1 causes the session to never timeout. |
You must restart the Action Processor for the change to take effect.
WebLogic Session Timeout
By default, the session timeout on WebLogic is 60 minutes. To specify a different session timeout:
3. | Add the <session-timeout> element in the following configuration file: |
WebLogicDir
\webapps\
APDir
\WEB-INF\web.xml
where WebLogicDir
is the directory in which WebLogic is installed, and APDir
is the directory in which the Action Processor is installed (which defaults to TIBCOActProc).
The <session-timeout> element must be added to the <session-config> element, for example:
<session-config>
<cookie-config>
<name>
ACROSTIC_ID
</name>
</cookie-config>
<session-timeout>30</session-timeout>
</session-config>
4. | Set the value of the <session-timeout> element to the number of minutes for the timeout. A value of -1 causes the session to never timeout. |
You must restart the Action Processor for the change to take effect.
IIS Session Timeout
By default, the session timeout on IIS is 20 minutes. To specify a different session timeout:
5. | Locate the <sessionState> element in the following configuration file: |
\Inetpub\wwwroot\
APDir
\Web.config
where APDir
is the directory in which the Action Processor is installed (which defaults to TIBCOActProc).
For example:
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConne�tionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>
6. | Set the value of the timeout attribute for the desired number of minutes for the session timeout. |
You must restart the Action Processor for the change to take effect.