On Mon, Sep 27, 2004 at 07:06:08PM +0100, Paulo Lopes wrote:
> Is it possible to set the stateful session bean timeout value? How?
> 
> I'm getting this exception:
> 
> java.rmi.NoSuchObjectException: Not Found
> 
> On my JSP files, when EJB references stay in memory without being used, 
> more that the timeout of OpenEJB... how can i for example set the 
> default timeout for Session Stateful Beans equal to HttpSession timeout?
> 

Here is the property.

http://www.openejb.org/config_containers.html#STATEFUL.TimeOut

Another idea would be to write a Passivator that was somehow
programmatically coupled with the HttpSession timeout.  I'm sure
people would love that.

http://www.openejb.org/config_containers.html#STATEFUL.Passivator

-David

Reply via email to