Hi, this problem has fixed, I just re-installed glassfish...
----- Original Message -----
From: "ZhangJiHui" <zhangjh_at_cn.fujitsu.com>
To: <ejb_at_glassfish.dev.java.net>
Sent: Wednesday, November 07, 2007 9:50 AM
Subject: Why can't I watch the passivation of stateful bean
> Hi,
>
> I known that stateful ejb bean will passivate when the idle time of
> this bean exceed the Cache Idle Timeout time.
> I deployed a stateful bean on glassfish,
> and made following setting EJB Container setting:
> Cache Settings
> Removal Timeout: 5400 Seconds
> Cache Idle Timeout: 10 Seconds.
>
> I used client to access above stateful bean, the client invoked
> bussiness method , then sleep 20 Seconds(exceed 10s).
>
> I expected there would be file created in <domain-home>/session-store
> and the method marked '_at_PrePassivate' would be invoked.
> But there was no file created in <domain-home>/session-store, and
> the passivate method did not be invoked.
>
> Could someone help me, thanks a lot.
>
> Thanks,
> Henrry
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>
>
>