My Oracle Support Banner

Is There A Way To Modify Stateful Session Bean Timeout Globally? (Doc ID 453336.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version to [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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.