• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Passivation timeout in Glassfish

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Now I am super curious what sports would be like if we allowed drugs and tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic