
To enable passivation, your EJB assembly project must contain a stateful session bean.
We recommend that you set the value of the session timeout to be longer than the expected duration of the methods; otherwise, system errors may occur. The value of the session timeout is in seconds.
This timeout applies to stateful session beans only. Although it is possible to specify this timeout for stateless beans in the SAP NetWeaver Developer Studio, the EJB Container will ignore the specified value.
By default the passivation is disabled, that is the No passivation option is chosen.
The session timeout is stored in the <session-timeout> element in ejb-j2ee-engine.xml.
The passivation, the passivation timeout and the active sessions limit are stored in the corresponding elements shown below:
<session-props> <session-timeout>36000</session-timeout> <passivation> <passive-timeout>3600</passive-timeout> <lrulimit>200</lrulimit> </passivation> </session-props>
See also: