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:
- Stop the application server.
- Edit the deployment descriptor.
- Go to the session tab.
- Enter a session timeout.
- Click Set.
- Click OK.
- If the window doesn't close, close the window.
- Click Apply for the server.
- Restart the application server.
- View the deployment descriptor; the timeout is now set.
|