• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passivation timeout in Glassfish

 
Rajesh So
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could you please tell me the settings to modify in Glassfish, such that the bean that gets TIMEDOUT after passivation.

I tried the following and managed to passivate, but thats not getting timedout. The criterion for timeout I believe is we should have a callback in @Remove method. Is the criterion correct?

Max Cache Size: 1 Number of beans
Cache Resize Quantity: 32 Number of beans to passivate when cache is full; default is 32
Removal Timeout: 2 Seconds
Removal Selection Policy: Not Recently Used (nru)
Cache Idle Timeout: 1 Seconds


Also, how to Time out non-passivated bean in Glassfish? I tried searching the forum but could not find.

Regards,
Rajesh
 
Rajesh So
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Has anyone tried to Time-out a passivated bean or active bean, such that the container loses the reference of the bean. (Glassfish settings)

Regards,
Rajesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic