Is There A Way To Modify Stateful Session Bean Timeout Globally?
(Doc ID 453336.1)
Last updated on OCTOBER 07, 2022
Applies to:Oracle Containers for J2EE - Version 220.127.116.11.0 to 10.1.3.0.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.
Is there any way to set/change the default timeout of a stateful session bean globally?
Look at the following scenario:
You have developed a web application with the HTTP session timeout set to 60 minutes. The application will invoke some stateful session beans to perform some tasks. As stated in the documentation, the default timeout of stateful session bean is set to 1800 seconds (i.e. 30 minutes). Say, you have a situation wherein the stateful session bean and the HTTP session are not timing out at the same time and you need to synchronize the two timeout values in order to have the application to work properly.
You can set the timeout value of each individual stateful session bean in the orion-ejb-jar.xml. However, you have many stateful session beans and hence would like to set/change the default timeout of stateful session bean globally.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document