Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Statful Session bean and its life  RSS feed

 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how long a Stateful session bean lives in the memory. What keeps the stateful bean around?
I do have a Stateful session bean in my application creating some problem. When the user first uses the stateful session bean, the bean remote reference is stored in the user session object. Even though the user session is active and not invalidated, stateful session bean is getting timed-out. I am using weblogic 6.1 with SP2. Please help. Thanks.
Below is the exception stack trace:
 
Naidu Jitta
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
The timeout of the statefull sessin bean (passivation) is container specific.
I think if the beans method is not called for specfic time, say 30 min (again container specific) the bean will become inactive whether r not the client is having the reference
If i am wrong plz correct me
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!