SessionBeanTimeoutException seen in WebSphere Application Server 3.5.x

Technote (FAQ)
Problem
Why does a session bean running in WebSphereŽ Application Server 3.5.x receive the SessionBeanTimeoutException, and how can this be prevented?
Solution
In WebSphere Application Server 3.5.x, a SessionBeanTimeoutException will be thrown when the session timeout for a session bean expires. The session timeout is the number of seconds that a session bean instance can remain idle. The default value for the session timeout is 0, which indicates that the bean instances timeout after the maximum allowable timeout period has elapsed. The exception is seen more frequently in later fix packs of WebSphere 3.5.

The session timeout can be edited in the deployment descriptor to prevent the exception from being issued. For an EJB that is already installed in WebSphere, follow these steps to change the value:

  1. Stop the application server.

  2. Edit the deployment descriptor.

  3. Go to the session tab.

  4. Enter a session timeout.

  5. Click Set.

  6. Click OK.

  7. If the window doesn't close, close the window.

  8. Click Apply for the server.

  9. Restart the application server.

  10. View the deployment descriptor; the timeout is now set.











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, EJB Container
Operating system(s): Multi-Platform
Software version: 3.5
Software edition: Advanced
Reference #: 1105547
IBM Group: Software Group
Modified date: 2004-10-28